Module: Paychex::Client::Jobs
- Included in:
- Paychex::Client
- Defined in:
- lib/paychex/client/jobs.rb
Instance Method Summary collapse
-
#job(company_id, job_id) ⇒ Object
Get a specific job’s details.
-
#jobs(company_id) ⇒ Object
Get a list of the jobs for a company.
Instance Method Details
#job(company_id, job_id) ⇒ Object
Get a specific job’s details
10 11 12 |
# File 'lib/paychex/client/jobs.rb', line 10 def job(company_id, job_id) get("companies/#{company_id}/jobs/#{job_id}") end |
#jobs(company_id) ⇒ Object
Get a list of the jobs for a company
5 6 7 |
# File 'lib/paychex/client/jobs.rb', line 5 def jobs(company_id) get("companies/#{company_id}/jobs") end |