Sha256: ca58539f4a1275b9c89176fee0e7572162dfe5e497c3e750c095224d572a4974
Contents?: true
Size: 425 Bytes
Versions: 23
Compression:
Stored size: 425 Bytes
Contents
class Lastfm module MethodCategory class Library < Base regular_method :get_artists, [:user], [[:limit, nil], [:page, nil]] do |response| Util.force_array(response.xml['artists']['artist']) end regular_method :get_tracks, [:user], [[:artist, nil], [:album, nil], [:page, nil], [:limit, nil]] do |response| Util.force_array(response.xml['tracks']['track']) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems