Module: JWT::Configuration

Included in:
JWT
Defined in:
lib/jwt/configuration.rb,
lib/jwt/configuration/container.rb,
lib/jwt/configuration/jwk_configuration.rb,
lib/jwt/configuration/decode_configuration.rb

Defined Under Namespace

Classes: Container, DecodeConfiguration, JwkConfiguration

Instance Method Summary collapse

Instance Method Details

#configurationObject


11
12
13
# File 'lib/jwt/configuration.rb', line 11

def configuration
  @configuration ||= ::JWT::Configuration::Container.new
end

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

Yields:


7
8
9
# File 'lib/jwt/configuration.rb', line 7

def configure
  yield(configuration)
end