Class: MyJohnDeereApi::Request::Individual::Organization
- Defined in:
- lib/my_john_deere_api/request/individual/organization.rb
Instance Attribute Summary
Attributes inherited from Base
#associations, #client, #id, #response
Instance Method Summary collapse
-
#model ⇒ Object
This is the class used to model the data.
-
#resource ⇒ Object
The resource path for the first page in the collection.
Methods inherited from Base
#accessor, #initialize, #object
Constructor Details
This class inherits a constructor from MyJohnDeereApi::Request::Individual::Base
Instance Method Details
#model ⇒ Object
This is the class used to model the data
15 16 17 |
# File 'lib/my_john_deere_api/request/individual/organization.rb', line 15 def model MyJohnDeereApi::Model::Organization end |
#resource ⇒ Object
The resource path for the first page in the collection
8 9 10 |
# File 'lib/my_john_deere_api/request/individual/organization.rb', line 8 def resource "/organizations/#{id}" end |