Class: Top4R::ShopScore

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

included

Class Method Details

.attributesObject



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

def attributes; @@ATTRIBUTES; end

Instance Method Details

#unmarshal_other_attrsObject



29
30
31
32
# File 'lib/top4r/model/shop.rb', line 29

def unmarshal_other_attrs
  @id = 0
  self
end