Class: FinchAPI::Resources::Payroll
- Inherits:
-
Object
- Object
- FinchAPI::Resources::Payroll
- Defined in:
- lib/finch_api/resources/payroll.rb,
lib/finch_api/resources/payroll/pay_groups.rb
Defined Under Namespace
Classes: PayGroups
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(client:) ⇒ Payroll
constructor
private
A new instance of Payroll.
Constructor Details
#initialize(client:) ⇒ Payroll
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 Payroll.
12 13 14 15 |
# File 'lib/finch_api/resources/payroll.rb', line 12 def initialize(client:) @client = client @pay_groups = FinchAPI::Resources::Payroll::PayGroups.new(client: client) end |
Instance Attribute Details
#pay_groups ⇒ FinchAPI::Resources::Payroll::PayGroups (readonly)
7 8 9 |
# File 'lib/finch_api/resources/payroll.rb', line 7 def pay_groups @pay_groups end |