Class: Rockstar::User
- Inherits:
-
Base
- Object
- Base
- Rockstar::User
- Defined in:
- lib/lastfm-itunes/patches/rockstar.rb
Overview
Lastfm supports a limit, but rockstar currently does not. This simply adds the limit parameter
Instance Method Summary collapse
Instance Method Details
#top_tracks(force = false, limit = 50) ⇒ Object
5 6 7 |
# File 'lib/lastfm-itunes/patches/rockstar.rb', line 5 def top_tracks(force=false, limit = 50) get_instance("user.getTopTracks", :top_tracks, :track, {:user => @username, :limit => limit}, force) end |