Class: Top4R::Sku

Inherits:
Object
  • Object
show all
Includes:
ModelMixin
Defined in:
lib/top4r/model/item.rb

Overview

Sku Model

Constant Summary collapse

@@ATTRIBUTES =
[:id, :sku_id, :iid, :properties, :quantity, :price, :outer_id, :created, :modified, :status]

Class Method Summary collapse

Instance Method Summary collapse

Methods included from ModelMixin

included

Class Method Details

.attributesObject



32
# File 'lib/top4r/model/item.rb', line 32

def attributes; @@ATTRIBUTES; end

Instance Method Details

#unmarshal_other_attrsObject



35
36
37
# File 'lib/top4r/model/item.rb', line 35

def unmarshal_other_attrs
  @id = @sku_id
end