Sha256: c3cb6c37d78d0c3867016432dc5bd6ccdce7c4643673876f0faa9e1ced367391

Contents?: true

Size: 990 Bytes

Versions: 17

Compression:

Stored size: 990 Bytes

Contents

# typed: true

require 'faraday'
require 'httparty'
require 'nokogiri'
require 'sorbet-runtime'
require 'active_support'

#Define base module for orchestrating configuration of classes
module Setsuzoku

  autoload :ApiResponse, 'setsuzoku/api_response'
  autoload :ApiStrategy, 'setsuzoku/api_strategy'
  autoload :AuthStrategy, 'setsuzoku/auth_strategy'
  autoload :Credential, 'setsuzoku/credential'
  autoload :Exception, 'setsuzoku/exception'
  autoload :ExternalApiHandler, 'setsuzoku/external_api_handler'
  autoload :Pluggable, 'setsuzoku/pluggable'
  autoload :Service, 'setsuzoku/service' #needs to load before plugin
  autoload :Plugin, 'setsuzoku/plugin'
  autoload :Utilities, 'setsuzoku/utilities'
  autoload :VERSION, 'setsuzoku/version'

  @@external_api_handler = ExternalApiHandler

  def self.external_api_handler
    @@external_api_handler
  end

  def self.external_api_handler=(val)
    @@external_api_handler = val
  end

  def self.configure
    yield(self)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
setsuzoku-0.11.9 lib/setsuzoku.rb
setsuzoku-0.11.8 lib/setsuzoku.rb
setsuzoku-0.11.7 lib/setsuzoku.rb
setsuzoku-0.11.6 lib/setsuzoku.rb
setsuzoku-0.11.5 lib/setsuzoku.rb
setsuzoku-0.11.0 lib/setsuzoku.rb
setsuzoku-0.10.12 lib/setsuzoku.rb
setsuzoku-0.10.11 lib/setsuzoku.rb
setsuzoku-0.10.10 lib/setsuzoku.rb
setsuzoku-0.10.9 lib/setsuzoku.rb
setsuzoku-0.10.8 lib/setsuzoku.rb
setsuzoku-0.10.7 lib/setsuzoku.rb
setsuzoku-0.10.6 lib/setsuzoku.rb
setsuzoku-0.10.5 lib/setsuzoku.rb
setsuzoku-0.10.4 lib/setsuzoku.rb
setsuzoku-0.10.3 lib/setsuzoku.rb
setsuzoku-0.10.1 lib/setsuzoku.rb