Class: Patron::HeaderParser::SingleResponseHeaders

Inherits:
Struct
  • Object
show all
Defined in:
lib/patron/header_parser.rb

Overview

Returned for each response parsed out

Instance Attribute Summary collapse

Instance Attribute Details

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



6
7
8
# File 'lib/patron/header_parser.rb', line 6

def headers
  @headers
end

#status_lineObject

Returns the value of attribute status_line

Returns:

  • (Object)

    the current value of status_line



6
7
8
# File 'lib/patron/header_parser.rb', line 6

def status_line
  @status_line
end