Sha256: 06d2fca6b6bd20c13045d6db917da85b83e3101b6fea6e2948793e8b017ef5a6
Contents?: true
Size: 283 Bytes
Versions: 7
Compression:
Stored size: 283 Bytes
Contents
class Hash def self.from_xml(xml) xml_parsed = ActiveSupport::XmlMini.parse(xml) if xml_parsed["tickets"] xml_parsed["tickets"].delete "current_page" xml_parsed["tickets"].delete "total_pages" end typecast_xml_value(unrename_keys(xml_parsed)) end end
Version data entries
7 entries across 7 versions & 1 rubygems