Class: FinchAPI::Resources::HRIS
- Inherits:
-
Object
- Object
- FinchAPI::Resources::HRIS
- 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
- #benefits ⇒ FinchAPI::Resources::HRIS::Benefits readonly
- #company ⇒ FinchAPI::Resources::HRIS::Company readonly
- #directory ⇒ FinchAPI::Resources::HRIS::Directory readonly
- #documents ⇒ FinchAPI::Resources::HRIS::Documents readonly
- #employments ⇒ FinchAPI::Resources::HRIS::Employments readonly
- #individuals ⇒ FinchAPI::Resources::HRIS::Individuals readonly
- #pay_statements ⇒ FinchAPI::Resources::HRIS::PayStatements readonly
- #payments ⇒ FinchAPI::Resources::HRIS::Payments readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ HRIS
constructor
private
A new instance of HRIS.
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.
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
#benefits ⇒ FinchAPI::Resources::HRIS::Benefits (readonly)
28 29 30 |
# File 'lib/finch_api/resources/hris.rb', line 28 def benefits @benefits end |
#company ⇒ FinchAPI::Resources::HRIS::Company (readonly)
7 8 9 |
# File 'lib/finch_api/resources/hris.rb', line 7 def company @company end |
#directory ⇒ FinchAPI::Resources::HRIS::Directory (readonly)
10 11 12 |
# File 'lib/finch_api/resources/hris.rb', line 10 def directory @directory end |
#documents ⇒ FinchAPI::Resources::HRIS::Documents (readonly)
25 26 27 |
# File 'lib/finch_api/resources/hris.rb', line 25 def documents @documents end |
#employments ⇒ FinchAPI::Resources::HRIS::Employments (readonly)
16 17 18 |
# File 'lib/finch_api/resources/hris.rb', line 16 def employments @employments end |
#individuals ⇒ FinchAPI::Resources::HRIS::Individuals (readonly)
13 14 15 |
# File 'lib/finch_api/resources/hris.rb', line 13 def individuals @individuals end |
#pay_statements ⇒ FinchAPI::Resources::HRIS::PayStatements (readonly)
22 23 24 |
# File 'lib/finch_api/resources/hris.rb', line 22 def pay_statements @pay_statements end |
#payments ⇒ FinchAPI::Resources::HRIS::Payments (readonly)
19 20 21 |
# File 'lib/finch_api/resources/hris.rb', line 19 def payments @payments end |