Class: Top4R::ItemCat
- Inherits:
-
Object
- Object
- Top4R::ItemCat
- Includes:
- ModelMixin
- Defined in:
- lib/top4r/model/itemcat.rb
Overview
ItemCat model
Constant Summary collapse
- @@ATTRIBUTES =
[:cid, :parent_cid, :name, :is_parent, :status, :sort_order]
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ModelMixin
Class Method Details
.attributes ⇒ Object
10 |
# File 'lib/top4r/model/itemcat.rb', line 10 def attributes; @@ATTRIBUTES; end |
.default_public_fields ⇒ Object
12 13 14 |
# File 'lib/top4r/model/itemcat.rb', line 12 def default_public_fields ["cid", "name", "parent_cid", "is_parent"] end |
Instance Method Details
#unmarshal_other_attrs ⇒ Object
17 18 19 |
# File 'lib/top4r/model/itemcat.rb', line 17 def unmarshal_other_attrs self end |