Class: Lightspeed::ItemMatrix
- Defined in:
- lib/lightspeed/item_matrix.rb
Instance Attribute Summary
Attributes inherited from Resource
#account, #attributes, #client, #context, #id
Class Method Summary collapse
-
.collection_name ⇒ Object
overrides.
Instance Method Summary collapse
Methods inherited from Resource
#as_json, #base_path, #destroy, fields, #get_transformed_value, id_field, #id_params, #initialize, #inspect, #load, #read_attribute_for_serialization, relationships, #reload, #resource_name, resource_name, #to_json, #update
Constructor Details
This class inherits a constructor from Lightspeed::Resource
Class Method Details
.collection_name ⇒ Object
overrides
43 44 45 |
# File 'lib/lightspeed/item_matrix.rb', line 43 def self.collection_name 'ItemMatrices' end |
Instance Method Details
#prices ⇒ Object
51 52 53 |
# File 'lib/lightspeed/item_matrix.rb', line 51 def prices @prices ||= Lightspeed::Prices.new(self.Prices) end |
#singular_path_parent ⇒ Object
47 48 49 |
# File 'lib/lightspeed/item_matrix.rb', line 47 def singular_path_parent account end |