Module: AttrEncrypted::Adapters::MongoMapper

Defined in:
lib/attr_encrypted/adapters/mongo_mapper.rb

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object

:nodoc:



4
5
6
7
8
# File 'lib/attr_encrypted/adapters/mongo_mapper.rb', line 4

def self.extended(base) # :nodoc:
  base.class_eval do
    attr_encrypted_options[:encode] = true
  end
end