Class: Muesli::AttributeSerializers::BSON::ObjectId
- Inherits:
-
Muesli::AttributeSerializers::Base
- Object
- Muesli::AttributeSerializers::Base
- Muesli::AttributeSerializers::BSON::ObjectId
- Defined in:
- lib/muesli/attribute_serializers/bson_objectid.rb
Instance Method Summary collapse
Methods inherited from Muesli::AttributeSerializers::Base
Constructor Details
This class inherits a constructor from Muesli::AttributeSerializers::Base
Instance Method Details
#serialize ⇒ Object
5 6 7 |
# File 'lib/muesli/attribute_serializers/bson_objectid.rb', line 5 def serialize return @value.to_s end |