Module: MongoMapper::Plugins::Serialization

Defined in:
lib/mongo_mapper/plugins/serialization.rb

Defined Under Namespace

Modules: Json Classes: Serializer

Class Method Summary collapse

Class Method Details

.configure(model) ⇒ Object



6
7
8
# File 'lib/mongo_mapper/plugins/serialization.rb', line 6

def self.configure(model)
  model.class_eval { include Json }
end