Module: VerbotenKeys

Defined in:
lib/verboten_keys.rb,
lib/verboten_keys/errors.rb,
lib/verboten_keys/railtie.rb,
lib/verboten_keys/version.rb,
lib/verboten_keys/filterer.rb,
lib/verboten_keys/middleware.rb,
lib/verboten_keys/configuration.rb

Defined Under Namespace

Modules: Errors Classes: Configuration, Filterer, Middleware, Railtie

Constant Summary collapse

VERSION =
'1.1.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



14
15
16
# File 'lib/verboten_keys.rb', line 14

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/verboten_keys.rb', line 16

def configure
  yield(configuration)
end

.resetObject



24
25
26
# File 'lib/verboten_keys.rb', line 24

def reset
  @configuration = Configuration.new
end