module AttrEncrypted::Adapters::DataMapper

Public Instance Methods

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