lib/musicbrainz/models/track.rb in musicbrainz-0.7.4 vs lib/musicbrainz/models/track.rb in musicbrainz-0.7.5
- old
+ new
@@ -10,8 +10,12 @@
client.load(:recording, { id: id }, {
binding: :track,
create_model: :track
})
end
+
+ def search(artist_name, track_name)
+ super({artist: artist_name, recording: track_name})
+ end
end
end
end