Class: PayrollHero::Api::BaseGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/payroll_hero/api/base_group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token) ⇒ BaseGroup

Returns a new instance of BaseGroup.



5
6
7
# File 'lib/payroll_hero/api/base_group.rb', line 5

def initialize(token)
  @client = new_client(token, :core)
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



10
11
12
# File 'lib/payroll_hero/api/base_group.rb', line 10

def client
  @client
end