Class: RspecApiDocumentation::HttpTestClient::LastRequest

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec_api_documentation/http_test_client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



30
31
32
# File 'lib/rspec_api_documentation/http_test_client.rb', line 30

def body
  @body
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



30
31
32
# File 'lib/rspec_api_documentation/http_test_client.rb', line 30

def method
  @method
end

#request_headersObject

Returns the value of attribute request_headers

Returns:

  • (Object)

    the current value of request_headers



30
31
32
# File 'lib/rspec_api_documentation/http_test_client.rb', line 30

def request_headers
  @request_headers
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



30
31
32
# File 'lib/rspec_api_documentation/http_test_client.rb', line 30

def url
  @url
end