corrected two mistakes caused by class name change in LastFM lib

This commit is contained in:
Thomas Buchöster
2011-06-08 03:58:39 +02:00
parent 8c892791ea
commit 93bf60fc57
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -4,14 +4,14 @@ module LastFM
def self.getTopArtists limit = nil, page = nil
chart_request "getTopArtists", "artists", limit, page do |artists|
LastFM::Validator.validate_mash artists, "image"
update_results "#{current_class_name}_#{__method__}", artists
update_results [current_class_name, __method__], artists
end
end
def self.getTopTracks limit = nil, page = nil
chart_request "getTopTracks", "tracks", limit, page do |tracks|
LastFM::Validator.validate_mash tracks
update_results "#{current_class_name}_#{__method__}", tracks
update_results [current_class_name, __method__], tracks
end
end
end