Class: StubRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/brine/test_steps.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStubRequest

Returns a new instance of StubRequest.



38
39
40
# File 'lib/brine/test_steps.rb', line 38

def initialize
  @headers = {}
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



36
37
38
# File 'lib/brine/test_steps.rb', line 36

def body
  @body
end

#headersObject

Returns the value of attribute headers.



36
37
38
# File 'lib/brine/test_steps.rb', line 36

def headers
  @headers
end

#methodObject

Returns the value of attribute method.



36
37
38
# File 'lib/brine/test_steps.rb', line 36

def method
  @method
end

#pathObject

Returns the value of attribute path.



36
37
38
# File 'lib/brine/test_steps.rb', line 36

def path
  @path
end