class Spotify::Models::TrackLink
Attributes
external_urls[R]
href[R]
id[R]
type[R]
uri[R]
Public Class Methods
new(args = {})
click to toggle source
Sets the arguments to its variables.
@param [Hash] args the arguments that will be placed on each variable.
@return [TrackLink] a track link object.
# File lib/spotify/models/track_link.rb, line 16 def initialize(args = {}) args = Hash(args).with_indifferent_access # Objects external_urls = Spotify::Models::ExternalURL.new(args[:external_urls]) @external_urls = external_urls @href = args[:href] @id = args[:id] @type = args[:type] @uri = args[:uri] end