Class: BSON::ObjectId

Inherits:
Object show all
Extended by:
Mongoid::Extensions::ObjectId::Conversions
Defined in:
lib/mongoid/extensions.rb

Overview

:nodoc

Instance Method Summary collapse

Methods included from Mongoid::Extensions::ObjectId::Conversions

convert, get, set

Instance Method Details

#as_json(options = nil) ⇒ Object



120
121
122
# File 'lib/mongoid/extensions.rb', line 120

def as_json(options = nil)
  to_s
end