Class: Lightspeed::Item

Inherits:
Resource show all
Defined in:
lib/lightspeed/item.rb

Instance Attribute Summary

Attributes inherited from Resource

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

Instance Method Summary collapse

Methods inherited from Resource

#as_json, #base_path, collection_name, #destroy, fields, #get_transformed_value, id_field, #id_params, #initialize, #inspect, #load, #read_attribute_for_serialization, relationships, #reload, #resource_name, resource_name, #singular_path_parent, #to_json, #update

Constructor Details

This class inherits a constructor from Lightspeed::Resource

Instance Method Details

#pricesObject



58
59
60
# File 'lib/lightspeed/item.rb', line 58

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