Sha256: 5437e355ce14c86a32648f214bf7ca90563b88dfed21c85dd496bfebcbc1b04a

Contents?: true

Size: 602 Bytes

Versions: 7

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

require 'wso2_toolbox/version'
require 'wso2_toolbox/identity_headers'
require 'wso2_toolbox/configuration'
require 'wso2_toolbox/token_manager'
require 'wso2_toolbox/token_manager/api_manager_service'
require 'wso2_toolbox/token_manager/adapters/local_file_adapter'
require 'wso2_toolbox/token_manager/adapters/rails_cached_adapter'

module Wso2Toolbox
  class << self
    def reset
      @configuration = Configuration.new
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield(configuration)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wso2_toolbox-0.3.3 lib/wso2_toolbox.rb
wso2_toolbox-0.3.2 lib/wso2_toolbox.rb
wso2_toolbox-0.3.1 lib/wso2_toolbox.rb
wso2_toolbox-0.3.0 lib/wso2_toolbox.rb
wso2_toolbox-0.2.3 lib/wso2_toolbox.rb
wso2_toolbox-0.2.2 lib/wso2_toolbox.rb
wso2_toolbox-0.2.1 lib/wso2_toolbox.rb