module Cucumber::Http::Response

Public Instance Methods

clear_response() click to toggle source
# File lib/cucumber/http/world_extensions/response.rb, line 12
def clear_response
  response.clear
end
response() click to toggle source
# File lib/cucumber/http/world_extensions/response.rb, line 4
def response
  @response ||= {}
end
set_response(key, value) click to toggle source
# File lib/cucumber/http/world_extensions/response.rb, line 8
def set_response(key, value)
  response[key.to_sym] = value
end