Class: HttpReader::Engine::DefaultResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/http_reader/engine.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



10
11
12
# File 'lib/http_reader/engine.rb', line 10

def body
  @body
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



10
11
12
# File 'lib/http_reader/engine.rb', line 10

def code
  @code
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



10
11
12
# File 'lib/http_reader/engine.rb', line 10

def headers
  @headers
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



10
11
12
# File 'lib/http_reader/engine.rb', line 10

def message
  @message
end