Sha256: d5c69c276619fda79a595ded7713c6585f2022dffd13731137366c2a703d4175

Contents?: true

Size: 1.48 KB

Versions: 14

Compression:

Stored size: 1.48 KB

Contents

require "api_client/version"
module ApiClient
  class << self
    attr_accessor :logger
  end

  autoload :Base,           "api_client/base"
  autoload :Errors,         "api_client/errors"
  autoload :Scope,          "api_client/scope"
  autoload :Utils,          "api_client/utils"

  module Mixins
    autoload :ConnectionHooks, "api_client/mixins/connection_hooks"
    autoload :Delegation,      "api_client/mixins/delegation"
    autoload :Configuration,   "api_client/mixins/configuration"
    autoload :Inheritance,     "api_client/mixins/inheritance"
    autoload :Instantiation,   "api_client/mixins/instantiation"
    autoload :Scoping,         "api_client/mixins/scoping"
  end

  module Resource
    autoload :Base,          "api_client/resource/base"
    autoload :Scope,         "api_client/resource/scope"
    autoload :NameResolver,  "api_client/resource/name_resolver"
  end

  module Connection

    class << self
      attr_accessor :default
    end
    self.default = :basic

    module Middlewares
      module Request
        autoload :OAuth,  "api_client/connection/middlewares/request/oauth"
        autoload :Logger, "api_client/connection/middlewares/request/logger"
        autoload :Json,   "api_client/connection/middlewares/request/json"
      end
    end

    autoload :Abstract, "api_client/connection/abstract"
    autoload :Basic,    "api_client/connection/basic"
    autoload :Json,     "api_client/connection/json"
    autoload :Oauth,    "api_client/connection/oauth"
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
api_client-0.5.11 lib/api_client.rb
api_client-0.5.9 lib/api_client.rb
api_client-0.5.7 lib/api_client.rb
api_client-0.5.6 lib/api_client.rb
api_client-0.5.5 lib/api_client.rb
api_client-0.5.4 lib/api_client.rb
api_client-0.5.3 lib/api_client.rb
api_client-0.5.2 lib/api_client.rb
api_client-0.5.1 lib/api_client.rb
api_client-0.5.0 lib/api_client.rb
api_client-0.4.3 lib/api_client.rb
api_client-0.4.2 lib/api_client.rb
api_client-0.4.1 lib/api_client.rb
api_client-0.3.3 lib/api_client.rb