Module: CouchPotato::Persistence::Properties::ClassMethods

Defined in:
lib/couch_potato/extensions/encryption.rb

Instance Method Summary collapse

Instance Method Details

#encrypted_property(name, options = {}) ⇒ Object



7
8
9
# File 'lib/couch_potato/extensions/encryption.rb', line 7

def encrypted_property(name, options = {})
  properties << CouchPotato::Extensions::EncryptedProperty.new(self, name, options)
end