Sha256: fba9ceb76957ab9755e0e5e5c5309e12698a0e16d767092032dfd62cf56de879
Contents?: true
Size: 576 Bytes
Versions: 3
Compression:
Stored size: 576 Bytes
Contents
class Lastfm module MethodCategory class Artist < Base regular_method :get_info, [:artist], [] do |response| response.xml['artist'] end regular_method :get_events, [:artist], [] do |response| response.xml['events']['event'] end regular_method :get_similar, [:artist], [] do |response| response.xml['similarartists']['artist'] end regular_method :get_tags, [:artist], [[:user, nil], [:mbid, nil], [:autocorrect, nil]] do |response| response.xml['tags']['tag'] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lastfm-1.5.1 | lib/lastfm/method_category/artist.rb |
lastfm-1.5.0 | lib/lastfm/method_category/artist.rb |
lastfm-1.4.0 | lib/lastfm/method_category/artist.rb |