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

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

Overview

Represents a recorded request.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



78
79
80
# File 'lib/lowdown/mock.rb', line 78

def body
  @body
end

#contextObject

Returns the value of attribute context

Returns:

  • (Object)

    the current value of context



78
79
80
# File 'lib/lowdown/mock.rb', line 78

def context
  @context
end

#delegateObject

Returns the value of attribute delegate

Returns:

  • (Object)

    the current value of delegate



78
79
80
# File 'lib/lowdown/mock.rb', line 78

def delegate
  @delegate
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



78
79
80
# File 'lib/lowdown/mock.rb', line 78

def headers
  @headers
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



78
79
80
# File 'lib/lowdown/mock.rb', line 78

def path
  @path
end

#responseObject

Returns the value of attribute response

Returns:

  • (Object)

    the current value of response



78
79
80
# File 'lib/lowdown/mock.rb', line 78

def response
  @response
end