Sha256: ad4874aa3ee4c584e1986a2d4e163030b8fb67693dcb7eeea68f42bb83508cf3
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
module MusicBrainz class Track < BaseModel field :position, Integer field :recording_id, String field :title, String field :length, Integer class << self def find(id) client.load(:recording, { id: id }, { binding: :track, create_model: :track }) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems