Class: HTTPSpec::Request

Inherits:
Struct
  • Object
show all
Defined in:
lib/http_spec/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



2
3
4
# File 'lib/http_spec/types.rb', line 2

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



2
3
4
# File 'lib/http_spec/types.rb', line 2

def headers
  @headers
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



2
3
4
# File 'lib/http_spec/types.rb', line 2

def method
  @method
end

#parametersObject

Returns the value of attribute parameters

Returns:

  • (Object)

    the current value of parameters



2
3
4
# File 'lib/http_spec/types.rb', line 2

def parameters
  @parameters
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



2
3
4
# File 'lib/http_spec/types.rb', line 2

def path
  @path
end