Object
# File lib/innate/mock.rb, line 28 def initialize @cookie = nil end
# File lib/innate/mock.rb, line 38 def extract_cookie(method, path, hash = {}) hash['HTTP_COOKIE'] ||= @cookie if @cookie response = Mock::mock(method, path, hash) cookie = response['Set-Cookie'] @cookie = cookie if cookie response end
[Validate]
Generated with the Darkfish Rdoc Generator 2.