Class: Onfleet::Organization
- Inherits:
-
OnfleetObject
- Object
- OnfleetObject
- Onfleet::Organization
- Defined in:
- lib/onfleet-ruby/organization.rb
Instance Attribute Summary
Attributes inherited from OnfleetObject
Class Method Summary collapse
Methods inherited from OnfleetObject
#api_url, #attributes, #class_name, #initialize, #parse_response
Constructor Details
This class inherits a constructor from Onfleet::OnfleetObject
Class Method Details
.get ⇒ Object
4 5 6 |
# File 'lib/onfleet-ruby/organization.rb', line 4 def get new(Onfleet.request('organization', :get)) end |
.get_delegatee_details(id) ⇒ Object
8 9 10 |
# File 'lib/onfleet-ruby/organization.rb', line 8 def get_delegatee_details(id) new(Onfleet.request("organizations/#{id}", :get)) end |