Module: PrefixApiKey

Defined in:
lib/prefix_api_key.rb,
lib/prefix_api_key/check.rb,
lib/prefix_api_key/version.rb,
lib/prefix_api_key/generate.rb

Defined Under Namespace

Classes: Check, Error, Generate

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



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

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Yields:



18
19
20
# File 'lib/prefix_api_key.rb', line 18

def configure
  yield(configuration)
end