Exception: Savon::HTTPError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/savon.rb

Overview

Raised in case of an HTTP error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, headers) ⇒ HTTPError

Returns a new instance of HTTPError.



17
18
19
20
# File 'lib/savon.rb', line 17

def initialize(message, headers)
  super(message)
  @headers = headers
end

Instance Attribute Details

#headersObject (readonly)

Returns the value of attribute headers.



15
16
17
# File 'lib/savon.rb', line 15

def headers
  @headers
end