Sha256: dfc0c81030a5035f0f7834205b01125d589107a3adbb32c81d122fabb3b12b76

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

module MusicBrainz
  class Recording < BaseModel
    field :id, String
    field :mbid, String
    field :title, String
    field :artist, String
		field :releases, String
		field :score, Integer

    class << self
      def find(id)
				super({ id: id })
      end

			def search(track_name, artist_name)
				super({recording: track_name, artist: artist_name})
			end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
musicbrainz-0.8.0 lib/musicbrainz/models/recording.rb