Class: Top4R::SellerCat

Inherits:
Object
  • Object
show all
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

included

Class Method Details

.attributesObject



10
# File 'lib/top4r/model/shop.rb', line 10

def attributes; @@ATTRIBUTES; end

Instance Method Details

#unmarshal_other_attrsObject



13
14
15
16
# File 'lib/top4r/model/shop.rb', line 13

def unmarshal_other_attrs
  @id = @cid
  self
end