Module: Concourse::Http
- Included in:
- SubClients::SkymarshalClient
- Defined in:
- lib/concourse/http.rb
Defined Under Namespace
Classes: Request
Instance Method Summary collapse
Instance Method Details
#assert_successful(request, response) ⇒ Object
33 34 35 |
# File 'lib/concourse/http.rb', line 33 def assert_successful(request, response) raise api_error(request, response) unless response.status < 400 end |