Exception: Plum::LegacyHTTPError
- Defined in:
- lib/plum/errors.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#parser ⇒ Object
readonly
Returns the value of attribute parser.
Instance Method Summary collapse
-
#initialize(headers, data, parser) ⇒ LegacyHTTPError
constructor
A new instance of LegacyHTTPError.
Constructor Details
#initialize(headers, data, parser) ⇒ LegacyHTTPError
Returns a new instance of LegacyHTTPError.
39 40 41 42 43 |
# File 'lib/plum/errors.rb', line 39 def initialize(headers, data, parser) @headers = headers @data = data @parser = parser end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
37 38 39 |
# File 'lib/plum/errors.rb', line 37 def data @data end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
37 38 39 |
# File 'lib/plum/errors.rb', line 37 def headers @headers end |
#parser ⇒ Object (readonly)
Returns the value of attribute parser.
37 38 39 |
# File 'lib/plum/errors.rb', line 37 def parser @parser end |