Classes: Parser
5 6 7
# File 'lib/webhookdb/xml.rb', line 5 def self.parse(thing) Parser.new(thing).to_hash end
9 10 11 12
# File 'lib/webhookdb/xml.rb', line 9 def self.parse_entry(thing) p = Parser.new(thing) p.parse_entry(p.doc.root) end