Class: Lowdown::Connection::Mock::Request

Inherits:
Struct
  • Object
show all
Defined in:
lib/lowdown/connection/mock.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



6
7
8
# File 'lib/lowdown/connection/mock.rb', line 6

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



6
7
8
# File 'lib/lowdown/connection/mock.rb', line 6

def headers
  @headers
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/lowdown/connection/mock.rb', line 6

def path
  @path
end

#responseObject

Returns the value of attribute response

Returns:

  • (Object)

    the current value of response



6
7
8
# File 'lib/lowdown/connection/mock.rb', line 6

def response
  @response
end