module Typhoeus::Request::Memoizable
def memoizable?
-
(Boolean)
- Return true if memoizable, false else.
Other tags:
- Example: Is request memoizable? -
def memoizable? Typhoeus::Config.memoize && (options[:method].nil? || options[:method] == :get) end
def response=(response)
- Example: Set response. -
Parameters:
-
response
(Response
) -- The response to set.
def response=(response) hydra.memory[self] = response if memoizable? super end