Sha256: a560f18a398cd9d98b4e6d4b3d39cff4785f20f5671412592b827f59f3fe622c
Contents?: true
Size: 725 Bytes
Versions: 6
Compression:
Stored size: 725 Bytes
Contents
require 'jwt' require 'redis' require 'active_support' require 'active_support/core_ext/numeric' require 'jwt_keeper/version' require 'jwt_keeper/exceptions' require 'jwt_keeper/configuration' require 'jwt_keeper/datastore' require 'jwt_keeper/token' require 'jwt_keeper/controller' module JWTKeeper class << self attr_reader :configuration, :datastore end # Creates/sets a new configuration for the gem, yield a configuration object # @param new_configuration [Configuration] new configuration # @return [Configuration] the frozen configuration def self.configure(new_configuration = Configuration.new) yield(new_configuration) if block_given? @configuration = new_configuration.freeze end end
Version data entries
6 entries across 6 versions & 1 rubygems