Permalink
Browse files

Adds get_top_artists method

  • Loading branch information...
rahilsondhi committed Feb 25, 2013
1 parent 89ee907 commit 7d1dff9811b93029f07b934d40fd2c74b573b111
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/lastfm/method_category/chart.rb
@@ -4,6 +4,10 @@ class Chart < Base
regular_method :get_hyped_artists, [], [[:page, nil], [:limit, nil]] do |response|
response.xml['artists']['artist']
end
+
+ regular_method :get_top_artists, [], [[:page, nil], [:limit, nil]] do |response|
+ response.xml['artists']['artist']
+ end
end
end
end

0 comments on commit 7d1dff9

Please sign in to comment.