Class: Top4R::SellerCat
- Inherits:
-
Object
- Object
- Top4R::SellerCat
- Includes:
- ModelMixin
- Defined in:
- lib/top4r/model/shop.rb
Overview
SellerCat Model
Constant Summary collapse
- @@ATTRIBUTES =
[:id, :type, :cid, :parent_cid, :name, :pict_url, :sort_order, :created, :modified]
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ModelMixin
Class Method Details
.attributes ⇒ Object
10 |
# File 'lib/top4r/model/shop.rb', line 10 def attributes; @@ATTRIBUTES; end |
Instance Method Details
#unmarshal_other_attrs ⇒ Object
13 14 15 16 |
# File 'lib/top4r/model/shop.rb', line 13 def unmarshal_other_attrs @id = @cid self end |