lib/lastfm.rb in lastfm-0.1.0 vs lib/lastfm.rb in lastfm-0.2.0
- old
+ new
@@ -36,9 +36,13 @@
def artist
MethodCategory::Artist.new(self)
end
+ def user
+ MethodCategory::User.new(self)
+ end
+
def request(method, params = {}, http_method = :get, with_signature = false, with_session = false)
params[:method] = method
params[:api_key] = @api_key
# http://www.lastfm.jp/group/Last.fm+Web+Services/forum/21604/_/497978