From 6a85538189b5775dadfff12f9eb135e00affc5e5 Mon Sep 17 00:00:00 2001 From: Xenda Date: Sat, 10 May 2014 15:19:14 -0500 Subject: [PATCH] Update artist.rb Adds getAlbums API method --- lib/rockstar/artist.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/rockstar/artist.rb b/lib/rockstar/artist.rb index e859ff9..6ddaf10 100644 --- a/lib/rockstar/artist.rb +++ b/lib/rockstar/artist.rb @@ -148,6 +148,11 @@ def top_albums(force=false) get_instance("artist.getTopAlbums", :top_albums, :album, {:artist => @name}, force) end + def top_albums(force=false) + get_instance("artist.getAlbums", :albums, :album, {:artist => @name}, force) + end + + def top_tags(force=false) get_instance("artist.getTopTags", :top_tags, :tag, {:artist => @name}, force) end