Skip to content

Commit

Permalink
Adds get_top_artists method
Browse files Browse the repository at this point in the history
  • Loading branch information
rahilsondhi committed Feb 25, 2013
1 parent 89ee907 commit 7d1dff9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/lastfm/method_category/chart.rb
Expand Up @@ -4,6 +4,10 @@ class Chart < Base
regular_method :get_hyped_artists, [], [[:page, nil], [:limit, nil]] do |response| regular_method :get_hyped_artists, [], [[:page, nil], [:limit, nil]] do |response|
response.xml['artists']['artist'] response.xml['artists']['artist']
end end

regular_method :get_top_artists, [], [[:page, nil], [:limit, nil]] do |response|
response.xml['artists']['artist']
end
end end
end end
end end

0 comments on commit 7d1dff9

Please sign in to comment.