module Typhoeus::Request::Stubbable

def run

Returns:
  • (Response) - The response.

Other tags:
    Example: Run the request. -
def run
  if expectation = Expectation.find_by(self)
    finish(expectation.response)
  else
    super
  end
end