Class: AppleMusic::EditorialNotes

Inherits:
Object
  • Object
show all
Defined in:
lib/apple_music/editorial_notes.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(props = {}) ⇒ EditorialNotes

Returns a new instance of EditorialNotes.



8
9
10
11
# File 'lib/apple_music/editorial_notes.rb', line 8

def initialize(props = {})
  @short = props['short'] # required
  @standard = props['standard'] # required
end

Instance Attribute Details

#shortObject (readonly)

Returns the value of attribute short.



6
7
8
# File 'lib/apple_music/editorial_notes.rb', line 6

def short
  @short
end

#standardObject (readonly)

Returns the value of attribute standard.



6
7
8
# File 'lib/apple_music/editorial_notes.rb', line 6

def standard
  @standard
end