Class: MongoItemListing
- Inherits:
-
Object
- Object
- MongoItemListing
- Includes:
- Mongoid::Attributes::Dynamic, Mongoid::Document
- Defined in:
- lib/models/mongo_item_listing.rb
Instance Method Summary collapse
Instance Method Details
#master_product ⇒ Object
9 10 11 |
# File 'lib/models/mongo_item_listing.rb', line 9 def master_product @master_product ||= MasterProduct.where(product_id: master_product_id).first end |