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.


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

def initialize(headers, data, parser)
  @headers = headers
  @data = data
  @parser = parser
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data


35
36
37
# File 'lib/plum/errors.rb', line 35

def data
  @data
end

#headersObject (readonly)

Returns the value of attribute headers


35
36
37
# File 'lib/plum/errors.rb', line 35

def headers
  @headers
end

#parserObject (readonly)

Returns the value of attribute parser


35
36
37
# File 'lib/plum/errors.rb', line 35

def parser
  @parser
end