Method: Iconoclasm::HTTPError#http_error_reason

Defined in:
lib/iconoclasm/errors.rb

#http_error_reasonObject



32
33
34
# File 'lib/iconoclasm/errors.rb', line 32

def http_error_reason
  @response.respond_to?(:header_str) ? error_reason : @response
end