Sha256: 08dcc72de5344f0529a1cf8fe7404bf225d95b6a5af824d64149796865856dd8

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lastfm-1.3.0 lib/lastfm/method_category/artist.rb
lastfm-1.2.0 lib/lastfm/method_category/artist.rb
lastfm-1.1.1 lib/lastfm/method_category/artist.rb
lastfm-1.1.0 lib/lastfm/method_category/artist.rb
lastfm-1.0.1 lib/lastfm/method_category/artist.rb