Sha256: e1753bae1f0fc69d6006511ab8accf486e4578e8f0ac01ef96a9872bf7a281d1

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

module Shoppr
  class Store
    
    attr_accessor :rating, :review_count, :rating_image
    
    def initialize(cat_mash)        
      Shoppr.map_mash_attrs(self, cat_mash)
      
      @rating = self.rating_info.rating
      @review_count = self.rating_info.reviewCount
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppr-0.2.3 lib/shoppr/store.rb