Module: Cucumber::Http::Response
- Defined in:
- lib/cucumber/http/world_extensions/response.rb
Instance Method Summary collapse
Instance Method Details
#clear_response ⇒ Object
12 13 14 |
# File 'lib/cucumber/http/world_extensions/response.rb', line 12 def clear_response response.clear end |
#response ⇒ Object
4 5 6 |
# File 'lib/cucumber/http/world_extensions/response.rb', line 4 def response @response ||= {} end |
#set_response(key, value) ⇒ Object
8 9 10 |
# File 'lib/cucumber/http/world_extensions/response.rb', line 8 def set_response(key, value) response[key.to_sym] = value end |