vendor/bundle/ruby/2.7.0/gems/typhoeus-1.4.0/lib/typhoeus/expectation.rb
# Return the response. When there are
# multiple responses, they are returned one
# by one.
#
# @example Return response.
#   expectation.response
#
# @return [ Response ] The response.
#
# @api private
Return the response. When there are
multiple responses, they are returned one
by one.
Return the response . When there are multiple responses they are returned one by one .
def response(request)
      response = responses.fetch(@response_counter, responses.last)
      if response.respond_to?(:call)
        response = response.call(request)
      end
      @response_counter += 1
      response.mock = @from || true
      response
    end
def response ( request ) response = responses . fetch ( @response_counter , responses . last ) if response . respond_to? ( :call ) response = response . call ( request ) end @response_counter += 1 response . mock = @from || true response end
Return the response.
Return the response .
None
 Response 
request
<not_specific>
example
Return response. expectation.response
Return response . expectation . response
api
None