class AppleMusic::Song::Relationships
developer.apple.com/documentation/applemusicapi/song/relationships
Attributes
albums[R]
artists[R]
genres[R]
station[R]
Public Class Methods
new(props = {})
click to toggle source
# File lib/apple_music/song/relationships.rb, line 9 def initialize(props = {}) @albums = Relationship.new(props['albums']).data @artists = Relationship.new(props['artists']).data @genres = Relationship.new(props['genres']).data @station = Relationship.new(props['station']).data.first end