Module: Gorilla

Includes:
Configurations
Defined in:
lib/gorilla.rb,
lib/gorilla/error.rb,
lib/gorilla/client.rb,
lib/gorilla/version.rb,
lib/gorilla/response.rb,
lib/gorilla/vanilla_client.rb,
lib/gorilla/middleware/user_agent.rb,
lib/gorilla/middleware/api_version.rb,
lib/gorilla/middleware/signature_auth.rb,
lib/gorilla/middleware/http_exceptions.rb

Defined Under Namespace

Modules: Middleware Classes: BadRequest, Client, Error, NotFound, Response, ServerError, Unauthorized, ValidationError, VanillaClient

Constant Summary collapse

VERSION =
"0.0.7"

Class Method Summary collapse

Class Method Details

.testing!Object



39
40
41
42
43
44
45
46
# File 'lib/gorilla.rb', line 39

def self.testing!
  configure do |c|
    stubs = Faraday::Adapter::Test::Stubs.new
    c.client_adapter = [:test, stubs]
  end

  stubs
end