Class: MusicBrainz::Recording

Inherits:
BaseModel show all
Defined in:
lib/musicbrainz/models/recording.rb

Class Method Summary collapse

Methods inherited from BaseModel

inherited

Class Method Details

.find(id) ⇒ Object


11
12
13
# File 'lib/musicbrainz/models/recording.rb', line 11

def find(id)
				super({ id: id })
end

.search(track_name, artist_name) ⇒ Object


15
16
17
# File 'lib/musicbrainz/models/recording.rb', line 15

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