Class: Product

Inherits:
Object show all
Includes:
MongoPersist
Defined in:
lib/mongo_persist/sandbox.rb

Constant Summary

Constants included from MongoPersist

MongoPersist::NIL_OBJ

Instance Attribute Summary collapse

Attributes included from MongoPersist

#mongo_id

Method Summary

Methods included from MongoPersist

#can_mongo_convert?, #from_mongo_hash, included, #mongo_addl_attributes, #mongo_attributes, #mongo_child_attributes, #new_hashx, #to_mongo_hash, #to_mongo_ref_hash

Instance Attribute Details

#nameObject

Returns the value of attribute name.



25
26
27
# File 'lib/mongo_persist/sandbox.rb', line 25

def name
  @name
end