Object
# File lib/innate/mock.rb, line 28 28: def initialize 29: @cookie = nil 30: end
# File lib/innate/mock.rb, line 38 38: def extract_cookie(method, path, hash = {}) 39: hash['HTTP_COOKIE'] ||= @cookie if @cookie 40: response = Mock::mock(method, path, hash) 41: 42: cookie = response['Set-Cookie'] 43: @cookie = cookie if cookie 44: 45: response 46: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.