# File lib/vcr/http_stubbing_adapters/webmock.rb, line 26 def stub_requests(http_interactions, match_attributes) grouped_responses(http_interactions, match_attributes).each do |request_matcher, responses| stub = ::WebMock.stub_request(request_matcher.method || :any, request_matcher.uri) with_hash = request_signature_hash(request_matcher) stub = stub.with(with_hash) if with_hash.size > 0 stub.to_return(responses.map{ |r| response_hash(r) }) end end