Class: MyJohnDeereApi::Model::ContributionProduct
- Defined in:
- lib/my_john_deere_api/model/contribution_product.rb
Instance Attribute Summary collapse
-
#activation_callback ⇒ Object
readonly
Returns the value of attribute activation_callback.
-
#current_status ⇒ Object
readonly
Returns the value of attribute current_status.
-
#default_locale ⇒ Object
readonly
Returns the value of attribute default_locale.
-
#market_place_description ⇒ Object
readonly
Returns the value of attribute market_place_description.
-
#market_place_name ⇒ Object
readonly
Returns the value of attribute market_place_name.
-
#preview_images ⇒ Object
readonly
Returns the value of attribute preview_images.
-
#supported_operation_centers ⇒ Object
readonly
Returns the value of attribute supported_operation_centers.
-
#supported_regions ⇒ Object
readonly
Returns the value of attribute supported_regions.
Attributes inherited from Base
#client, #id, #links, #record_type
Instance Method Summary collapse
-
#contribution_definitions ⇒ Object
contribution definitions associated with this contribution product.
Methods inherited from Base
Constructor Details
This class inherits a constructor from MyJohnDeereApi::Model::Base
Instance Attribute Details
#activation_callback ⇒ Object (readonly)
Returns the value of attribute activation_callback.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def activation_callback @activation_callback end |
#current_status ⇒ Object (readonly)
Returns the value of attribute current_status.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def current_status @current_status end |
#default_locale ⇒ Object (readonly)
Returns the value of attribute default_locale.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def default_locale @default_locale end |
#market_place_description ⇒ Object (readonly)
Returns the value of attribute market_place_description.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def market_place_description @market_place_description end |
#market_place_name ⇒ Object (readonly)
Returns the value of attribute market_place_name.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def market_place_name @market_place_name end |
#preview_images ⇒ Object (readonly)
Returns the value of attribute preview_images.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def preview_images @preview_images end |
#supported_operation_centers ⇒ Object (readonly)
Returns the value of attribute supported_operation_centers.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def supported_operation_centers @supported_operation_centers end |
#supported_regions ⇒ Object (readonly)
Returns the value of attribute supported_regions.
3 4 5 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 3 def supported_regions @supported_regions end |
Instance Method Details
#contribution_definitions ⇒ Object
contribution definitions associated with this contribution product
11 12 13 14 |
# File 'lib/my_john_deere_api/model/contribution_product.rb', line 11 def contribution_definitions return @contribution_definitions if defined?(@contribution_definitions) @contribution_definitions = Request::Collection::ContributionDefinitions.new(client, contribution_product: id) end |