module Typhoeus::ClassMethods
def mock_key_for(url, params = nil)
set of Typhoeus options to be used to store/retrieve
Returns a key for a given URL and passed in
def mock_key_for(url, params = nil) if url == :catch_all url else key = url if params and !params.empty? key += flatten_and_sort_hash(params).to_s end key end end