class MyJohnDeereApi::Request::Individual::Field

Public Instance Methods

model() click to toggle source

This is the class used to model the data

# File lib/my_john_deere_api/request/individual/field.rb, line 15
def model
  MyJohnDeereApi::Model::Field
end
resource() click to toggle source

The resource path for the first page in the collection

# File lib/my_john_deere_api/request/individual/field.rb, line 8
def resource
  "/platform/organizations/#{associations[:organization]}/fields/#{id}"
end