Class: FinchAPI::Resources::HRIS

Inherits:
Object
  • Object
show all
Defined in:
lib/finch_api/resources/hris.rb,
lib/finch_api/resources/hris/company.rb,
lib/finch_api/resources/hris/benefits.rb,
lib/finch_api/resources/hris/payments.rb,
lib/finch_api/resources/hris/directory.rb,
lib/finch_api/resources/hris/documents.rb,
lib/finch_api/resources/hris/employments.rb,
lib/finch_api/resources/hris/individuals.rb,
lib/finch_api/resources/hris/pay_statements.rb,
lib/finch_api/resources/hris/benefits/individuals.rb,
lib/finch_api/resources/hris/company/pay_statement_item.rb,
lib/finch_api/resources/hris/company/pay_statement_item/rules.rb

Defined Under Namespace

Classes: Benefits, Company, Directory, Documents, Employments, Individuals, PayStatements, Payments

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ HRIS

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of HRIS.

Parameters:



33
34
35
36
37
38
39
40
41
42
43
# File 'lib/finch_api/resources/hris.rb', line 33

def initialize(client:)
  @client = client
  @company = FinchAPI::Resources::HRIS::Company.new(client: client)
  @directory = FinchAPI::Resources::HRIS::Directory.new(client: client)
  @individuals = FinchAPI::Resources::HRIS::Individuals.new(client: client)
  @employments = FinchAPI::Resources::HRIS::Employments.new(client: client)
  @payments = FinchAPI::Resources::HRIS::Payments.new(client: client)
  @pay_statements = FinchAPI::Resources::HRIS::PayStatements.new(client: client)
  @documents = FinchAPI::Resources::HRIS::Documents.new(client: client)
  @benefits = FinchAPI::Resources::HRIS::Benefits.new(client: client)
end

Instance Attribute Details

#benefitsFinchAPI::Resources::HRIS::Benefits (readonly)



28
29
30
# File 'lib/finch_api/resources/hris.rb', line 28

def benefits
  @benefits
end

#companyFinchAPI::Resources::HRIS::Company (readonly)



7
8
9
# File 'lib/finch_api/resources/hris.rb', line 7

def company
  @company
end

#directoryFinchAPI::Resources::HRIS::Directory (readonly)



10
11
12
# File 'lib/finch_api/resources/hris.rb', line 10

def directory
  @directory
end

#documentsFinchAPI::Resources::HRIS::Documents (readonly)



25
26
27
# File 'lib/finch_api/resources/hris.rb', line 25

def documents
  @documents
end

#employmentsFinchAPI::Resources::HRIS::Employments (readonly)



16
17
18
# File 'lib/finch_api/resources/hris.rb', line 16

def employments
  @employments
end

#individualsFinchAPI::Resources::HRIS::Individuals (readonly)



13
14
15
# File 'lib/finch_api/resources/hris.rb', line 13

def individuals
  @individuals
end

#pay_statementsFinchAPI::Resources::HRIS::PayStatements (readonly)



22
23
24
# File 'lib/finch_api/resources/hris.rb', line 22

def pay_statements
  @pay_statements
end

#paymentsFinchAPI::Resources::HRIS::Payments (readonly)



19
20
21
# File 'lib/finch_api/resources/hris.rb', line 19

def payments
  @payments
end