A full featured Ruby API client to http://onfleet.com
Set the API key
Onfleet.key = ENV["ONFLEET_KEY"]
Do some stuff
workers = Onfleet::Worker.all
worker = workers.first
puts worker.phone
Onfleet::Worker.update(worker.id, name: "Eric")
See the documentation for more information.
Onfleet::Organization
Onfleet::Administrator
Onfleet::Worker
Onfleet::Team
Onfleet::Destination
Onfleet::Task
Onfleet::Recipient
Onfleet::Webhook
Onfleet::Webhook::Payload
- Tests
- Better error handling
- camelCase keys to snake_case keys