Class: Muesli::AttributeSerializers::BSON::ObjectId

Inherits:
Muesli::AttributeSerializers::Base show all
Defined in:
lib/muesli/attribute_serializers/bson_objectid.rb

Instance Method Summary collapse

Methods inherited from Muesli::AttributeSerializers::Base

#initialize

Constructor Details

This class inherits a constructor from Muesli::AttributeSerializers::Base

Instance Method Details

#serializeObject



5
6
7
# File 'lib/muesli/attribute_serializers/bson_objectid.rb', line 5

def serialize
  return @value.to_s
end