Sha256: 9d4dbacb306b031b79a46ef51a16fe5688dbe8252a3ec34b1e729846ea7dcfbd

Contents?: true

Size: 439 Bytes

Versions: 9

Compression:

Stored size: 439 Bytes

Contents

require "cognito_token_verifier/version"
require "cognito_token_verifier/errors"
require "cognito_token_verifier/config"
require "cognito_token_verifier/token"
require "cognito_token_verifier/controller_macros"

module CognitoTokenVerifier
  class << self
    attr_accessor :config
  end

  def self.config
    @config ||= Config.new
  end

  def self.reset
    @config = Config.new
  end

  def self.configure
    yield(config)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cognito_token_verifier-0.7.0 lib/cognito_token_verifier.rb
cognito_token_verifier-0.6.0 lib/cognito_token_verifier.rb
cognito_token_verifier-0.5.0 lib/cognito_token_verifier.rb
cognito_token_verifier-0.4.0 lib/cognito_token_verifier.rb
cognito_token_verifier-0.3.2 lib/cognito_token_verifier.rb
cognito_token_verifier-0.3.1 lib/cognito_token_verifier.rb
cognito_token_verifier-0.3.0 lib/cognito_token_verifier.rb
cognito_token_verifier-0.2.0 lib/cognito_token_verifier.rb
cognito_token_verifier-0.1.0 lib/cognito_token_verifier.rb