Exception: Plum::LegacyHTTPError

Inherits:
Error
  • Object
show all
Defined in:
lib/plum/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



37
38
39
# File 'lib/plum/errors.rb', line 37

def data
  @data
end

#headersObject (readonly)

Returns the value of attribute headers.



37
38
39
# File 'lib/plum/errors.rb', line 37

def headers
  @headers
end

#parserObject (readonly)

Returns the value of attribute parser.



37
38
39
# File 'lib/plum/errors.rb', line 37

def parser
  @parser
end