lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
Method generate_typhoeus_response
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.generate_typhoeus_response(request_signature, webmock_response)
response = if webmock_response.should_timeout
::Typhoeus::Response.new(
code: 0,
status_message: "",