class WebMock::RequestSignatureSnippet

def stubbing_instructions

def stubbing_instructions
  return unless WebMock.show_stubbing_instructions?
  "You can stub this request with the following snippet:\n\n" +
    WebMock::StubRequestSnippet.new(request_stub).to_s
end