Sha256: 94f50b10afb073c14a9a78fb9cb6fa0d04cde7e8125942fccdb650ece7f71e99

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

module MusicBrainz
  class Release
    def self.get_tracks(mbid, query=[])
      @mbid=mbid
      if query.present? && query!=[]
        @query=query.join("+")
      else
        @query='recordings'
      end
      MusicBrainz::Base.get('release', @mbid, @query)
    end

    def inspect
      "currently querying #{@query} with an mbid #{@mbid}"
    end


  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
musicbrainz_ruby-0.0.5 lib/musicbrainz/release.rb