lib/api_client.rb in api_client-0.3.1 vs lib/api_client.rb in api_client-0.3.2
- old
+ new
@@ -2,14 +2,14 @@
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"
+ 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"
@@ -32,14 +32,16 @@
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