class Spotify::Models::SavedAlbum

Attributes

added_at[R]
album[R]

Public Class Methods

new(args = {}) click to toggle source
# File lib/spotify/models/saved_album.rb, line 9
def initialize(args = {})
  args = args.with_indifferent_access

  @album    = Album.new(args[:name])

  # HACK: Using JSON while the other classes aren't available.
  @added_at = args[:added_at]
end