Exception: Savon::HTTPError
Overview
Raised in case of an HTTP error.
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(message, headers) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(message, headers) ⇒ HTTPError
Returns a new instance of HTTPError.
17 18 19 20 |
# File 'lib/savon.rb', line 17 def initialize(, headers) super() @headers = headers end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
15 16 17 |
# File 'lib/savon.rb', line 15 def headers @headers end |