Class: Lightspeed::ItemMatrix

Inherits:
Resource
  • Object
show all
Defined in:
lib/lightspeed/item_matrix.rb

Instance Attribute Summary

Attributes inherited from Resource

#account, #attributes, #client, #context, #id

Class Method Summary collapse

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_nameObject

overrides



43
44
45
# File 'lib/lightspeed/item_matrix.rb', line 43

def self.collection_name
  'ItemMatrices'
end

Instance Method Details

#pricesObject



51
52
53
# File 'lib/lightspeed/item_matrix.rb', line 51

def prices
  @prices ||= Lightspeed::Prices.new(self.Prices)
end

#singular_path_parentObject



47
48
49
# File 'lib/lightspeed/item_matrix.rb', line 47

def singular_path_parent
  
end