Module: Paychex::Client::LaborAssignments

Included in:
Paychex::Client
Defined in:
lib/paychex/client/labor_assignments.rb

Instance Method Summary collapse

Instance Method Details

#labor_assignment(company_id, labor_assignment_id) ⇒ Object

Get a specific labor assignment’s details



10
11
12
# File 'lib/paychex/client/labor_assignments.rb', line 10

def labor_assignment(company_id, labor_assignment_id)
  get("companies/#{company_id}/laborassignments/#{labor_assignment_id}")
end

#labor_assignments(company_id) ⇒ Object

Get a list of the labor assignments for a company



5
6
7
# File 'lib/paychex/client/labor_assignments.rb', line 5

def labor_assignments(company_id)
  get("companies/#{company_id}/laborassignments")
end