Class: HTTParty::Parser
- Inherits:
-
Object
- Object
- HTTParty::Parser
- Defined in:
- lib/airbrake-api/client.rb
Instance Method Summary collapse
Instance Method Details
#xml ⇒ Object
36 37 38 39 40 |
# File 'lib/airbrake-api/client.rb', line 36 def xml body.gsub!(/<__utmz>.*?<\/__utmz>/m,'') body.gsub!(/<[0-9]+.*?>.*?<\/[0-9]+.*?>/m,'') MultiXml.parse(body) end |