Class: Product
- Includes:
- MongoPersist
- Defined in:
- lib/mongo_persist/sandbox.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Attributes included from MongoPersist
Method Summary
Methods included from MongoPersist
#from_mongo_hash, included, #mongo_attributes, #mongo_child_attributes, #to_mongo_hash, #to_mongo_ref_hash
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
25 26 27 |
# File 'lib/mongo_persist/sandbox.rb', line 25 def name @name end |