Class: Top4R::TaobaokeItemDetail

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

Constant Summary collapse

@@ATTRIBUTES =
[:item, :click_url, :shop_click_url, :seller_credit_score]

Class Method Summary collapse

Methods included from ModelMixin

included

Class Method Details

.attributesObject



53
# File 'lib/top4r/model/taobaokeitem.rb', line 53

def attributes; @@ATTRIBUTES; end

.default_public_fieldsObject



55
56
57
# File 'lib/top4r/model/taobaokeitem.rb', line 55

def default_public_fields
  [:title, :num_iid, :cid, :pic_url, :price, :nick, :item_imgs, :desc, :click_url, :shop_click_url, :seller_credit_score]
end