module AttrEncrypted::Adapters::DataMapper

Public Instance Methods

included_with_attr_encrypted(base) click to toggle source
   # File lib/attr_encrypted/adapters/data_mapper.rb
12 def included_with_attr_encrypted(base)
13   included_without_attr_encrypted(base)
14   base.extend AttrEncrypted
15   base.attr_encrypted_options[:encode] = true
16 end