Class: MusicBrainz::Track

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

Class Method Summary collapse

Methods inherited from BaseModel

inherited

Class Method Details

.find(id) ⇒ Object



10
11
12
13
14
15
# File 'lib/musicbrainz/models/track.rb', line 10

def find(id)
  client.load(:recording, { id: id }, {
    binding: :track,
    create_model: :track
  })
end