Module: ActiveEncryption::Configuration::ClassMethods

Defined in:
lib/active_encryption/configuration.rb

Overview

ClassMethods contains the class methods to extend when the module is included in ActiveEncryption.

Instance Method Summary collapse

Instance Method Details

#configObject



23
24
25
# File 'lib/active_encryption/configuration.rb', line 23

def config
  @config ||= Store.new
end

#configure {|config| ... } ⇒ Object

Yields:



27
28
29
# File 'lib/active_encryption/configuration.rb', line 27

def configure
  yield config
end