Class: FinchAPI::Resources::Payroll

Inherits:
Object
  • Object
show all
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

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.

Parameters:



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_groupsFinchAPI::Resources::Payroll::PayGroups (readonly)



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

def pay_groups
  @pay_groups
end