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