Module: PaylocityWebService::Client::Employees
- Included in:
- PaylocityWebService::Client
- Defined in:
- lib/paylocity_web_service/client/employees.rb
Instance Method Summary collapse
- #create_employee(options = {}) ⇒ Object
- #create_staging_employee(options = {}) ⇒ Object
- #employee(employee_id) ⇒ Object
- #employees ⇒ Object
Instance Method Details
#create_employee(options = {}) ⇒ Object
12 13 14 |
# File 'lib/paylocity_web_service/client/employees.rb', line 12 def create_employee(={}) post("/api/v2/companies/#{company_id}/employees", ) end |
#create_staging_employee(options = {}) ⇒ Object
16 17 18 |
# File 'lib/paylocity_web_service/client/employees.rb', line 16 def create_staging_employee(={}) post("/api/v2/weblinkstaging/companies/#{company_id}/employees/newemployees", ) end |
#employee(employee_id) ⇒ Object
8 9 10 |
# File 'lib/paylocity_web_service/client/employees.rb', line 8 def employee(employee_id) get("/api/v2/companies/#{company_id}/employees/#{employee_id}") end |
#employees ⇒ Object
4 5 6 |
# File 'lib/paylocity_web_service/client/employees.rb', line 4 def employees get("/api/v2/companies/#{company_id}/employees/") end |