Sha256: eea35ed283cfc672b4f60bdb9ce68c452b6df269bd0b9a8d5301c4e09ad164a0

Contents?: true

Size: 338 Bytes

Versions: 10

Compression:

Stored size: 338 Bytes

Contents

class Lastfm
  module MethodCategory
    class Album < Base
      regular_method(
        :get_info,
        :required => any_params([:artist, :album], :mbid)
      ) do |response|
        result = response.xml['album']

        result['releasedate'].lstrip! unless result['releasedate'].empty?
        result
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lastfm-1.26.0 lib/lastfm/method_category/album.rb
lastfm-1.25.0 lib/lastfm/method_category/album.rb
lastfm-1.24.0 lib/lastfm/method_category/album.rb
lastfm-1.23.0 lib/lastfm/method_category/album.rb
lastfm-1.22.0 lib/lastfm/method_category/album.rb
lastfm-1.21.0 lib/lastfm/method_category/album.rb
lastfm-1.20.1 lib/lastfm/method_category/album.rb
lastfm-1.19.1 lib/lastfm/method_category/album.rb
lastfm-1.19.0 lib/lastfm/method_category/album.rb
lastfm-1.18.0 lib/lastfm/method_category/album.rb