Sha256: 8774445d20d77d2ea131ceaf7c61bc2a4737d6c28f7d96e17464ff66f0f210f1

Contents?: true

Size: 320 Bytes

Versions: 15

Compression:

Stored size: 320 Bytes

Contents

class Shopping::Product < Auth::Shopping::Product
	
	include Auth::Concerns::Work::GoodConcern

	create_es_index(INDEX_DEFINITION)
   
	def as_indexed_json(options={})
    
         {
            name: name,
            price: price,
            resource_id: resource_id,
            public: public
         }
 	end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wordjelly-auth-1.2.5 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.2.4 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.2.3 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.2.2 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.2.1 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.2.0 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.9 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.8 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.7 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.6 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.5 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.4 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.3 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.2 spec/dummy/app/models/shopping/product.rb
wordjelly-auth-1.1.1 spec/dummy/app/models/shopping/product.rb