lib/paychex/client/workers.rb in paychex-0.1.1 vs lib/paychex/client/workers.rb in paychex-0.2.0
- old
+ new
@@ -14,9 +14,13 @@
# Create a worker
def create_worker(company_id, options = {})
post("companies/#{company_id}/workers", options)
end
+ def create_worker_contacts(worker_id, options = {})
+ post("workers/#{worker_id}/contacts", options)
+ end
+
def remove_worker(worker_id, options = {})
delete("workers/#{worker_id}", options)
end
# Get company's linked status