Module Typhoeus::Request::Stubbable
In: lib/typhoeus/request/stubbable.rb

This module handles stubbing on the request side. It plays well with the block_connection configuration, which raises when you make a request which is not stubbed.

@api private

Methods

run  

Public Instance methods

Override run in order to check for matching expectations. When an expectation is found, super is not called. Instead a canned response is assigned to the request.

@example Run the request.

  request.run

@return [ Response ] The response.

[Validate]