Module: Sequel::Plugins::Vault

Defined in:
lib/sequel_vault.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: InvalidCiphertext

Class Method Summary collapse

Class Method Details

.configure(model, keys = nil, *attrs) ⇒ Object



8
9
10
# File 'lib/sequel_vault.rb', line 8

def self.configure(model, keys = nil, *attrs)
  model.vault_attributes(keys, *attrs) unless attrs.empty?
end