Class: Mongoid::EncryptedString

Inherits:
String
  • Object
show all
Includes:
EncryptedField
Defined in:
lib/mongoid-encrypted-fields/fields/encrypted_string.rb

Class Method Summary collapse

Methods included from EncryptedField

#encrypted, #mongoize, #raw_value

Class Method Details

.convert(object) ⇒ Object



24
25
26
# File 'lib/mongoid-encrypted-fields/fields/encrypted_string.rb', line 24

def convert(object)
  new(object)
end