Sha256: 720f13b26c4d7790104f78e37852b1a77bb550caafbfb7faa8b1eccc7a9db444

Contents?: true

Size: 1.29 KB

Versions: 13

Compression:

Stored size: 1.29 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"
  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"
      end
    end

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

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
api_client-0.3.1 lib/api_client.rb
api_client-0.3.0 lib/api_client.rb
api_client-0.2.0 lib/api_client.rb
api_client-0.1.9 lib/api_client.rb
api_client-0.1.8 lib/api_client.rb
api_client-0.1.7 lib/api_client.rb
api_client-0.1.6 lib/api_client.rb
api_client-0.1.5 lib/api_client.rb
api_client-0.1.4 lib/api_client.rb
api_client-0.1.3 lib/api_client.rb
api_client-0.1.2 lib/api_client.rb
api_client-0.1.1 lib/api_client.rb
api_client-0.1.0 lib/api_client.rb