Class: Top4R::Sku
- Inherits:
-
Object
- Object
- Top4R::Sku
- 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
Class Method Details
.attributes ⇒ Object
32 |
# File 'lib/top4r/model/item.rb', line 32 def attributes; @@ATTRIBUTES; end |
Instance Method Details
#unmarshal_other_attrs ⇒ Object
35 36 37 |
# File 'lib/top4r/model/item.rb', line 35 def unmarshal_other_attrs @id = @sku_id end |