lib/lastfm/response.rb in lastfm-1.5.0 vs lib/lastfm/response.rb in lastfm-1.5.1
- old
+ new
@@ -4,10 +4,10 @@
class Lastfm
class Response
attr_reader :xml
def initialize(body)
- @xml = XmlSimple.xml_in(body, 'ForceArray' => ['image', 'tag', 'user', 'event'])
+ @xml = XmlSimple.xml_in(body, 'ForceArray' => ['image', 'tag', 'user', 'event', 'correction'])
end
def success?
@xml['status'] == 'ok'
end