class Typhoeus::Expectation
def response_for(request)
- Api: - private
Returns:
-
(Typhoeus::Response)
- The stubbed response from a
Other tags:
- Example: Find response -
def response_for(request) expectation = find_by(request) return nil if expectation.nil? expectation.response(request) end