vendor/bundle/ruby/2.7.0/gems/typhoeus-1.4.0/lib/typhoeus/expectation.rb
# Returns stubbed response matching the
# provided request.
#
# @example Find response
#   Typhoeus::Expectation.response_for(request)
#
# @return [ Typhoeus::Response ] The stubbed response from a
#   matching expectation, or nil if no matching expectation
#   is found.
#
# @api private
Returns stubbed response matching the
provided request.
Returns stubbed response matching the provided request .
def response_for(request)
        expectation = find_by(request)
        return nil if expectation.nil?
        expectation.response(request)
      end
def response_for ( request ) expectation = find_by ( request ) return nil if expectation . nil? expectation . response ( request ) end
Returns stubbed response matching the
provided request.
Returns stubbed response matching the provided request .
The stubbed response from a matching expectation, or nil if no matching expectation is found.
The stubbed response from a matching expectation or nil if no matching expectation is found .
 Typhoeus::Response 
request
<not_specific>
example
Find response Typhoeus::Expectation.response_for(request)
Find response Typhoeus :: Expectation . response_for ( request )
api
None