require 'sham_rack' ShamRack.at("api.airbrake.io") do |env| response = <<-end_xml b6817316-9c45-ed26-45eb-780dbb86aadb http://airbrake.io/locate/b6817316-9c45-ed26-45eb-780dbb86aadb end_xml ["200 OK", { "Content-type" => "text/xml" }, [response]] end