class Spotify::Models::SavedTrack
Attributes
added_at[R]
track[R]
Public Class Methods
new(args = {})
click to toggle source
# File lib/spotify/models/saved_track.rb, line 9 def initialize(args = {}) args = args.with_indifferent_access @track = Track.new(args[:name]) # HACK: Using JSON while the other classes aren't available. @added_at = args[:added_at] end