Class: Top4R::ShopScore
- Inherits:
-
Object
- Object
- Top4R::ShopScore
- Includes:
- ModelMixin
- Defined in:
- lib/top4r/model/shop.rb
Overview
ShopScore Model
Constant Summary collapse
- @@ATTRIBUTES =
[:item_score, :service_score, :delivery_score]
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ModelMixin
Class Method Details
.attributes ⇒ Object
26 |
# File 'lib/top4r/model/shop.rb', line 26 def attributes; @@ATTRIBUTES; end |
Instance Method Details
#unmarshal_other_attrs ⇒ Object
29 30 31 32 |
# File 'lib/top4r/model/shop.rb', line 29 def unmarshal_other_attrs @id = 0 self end |