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



45
46
47
# File 'lib/lightspeed/item_matrix.rb', line 45

def self.collection_name
  'ItemMatrices'
end

Instance Method Details

#pricesObject



53
54
55
# File 'lib/lightspeed/item_matrix.rb', line 53

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

#singular_path_parentObject



49
50
51
# File 'lib/lightspeed/item_matrix.rb', line 49

def singular_path_parent
  
end