module Typhoeus::Request::Operations
This module contains everything what is necessary to make a single request.
Public Instance Methods
Source
# File lib/typhoeus/request/operations.rb, line 28 def finish(response, bypass_memoization = nil) if bypass_memoization @response = response else self.response = response end self.response.request = self execute_callbacks response end
Sets a response, the request on the response and executes the callbacks.
@param [Typhoeus::Response] response The response. @param [Boolean] bypass_memoization Wether to bypass
memoization or not. Decides how the response is set.
@return [Typhoeus::Response] The response.