Class: AppleMusic::EditorialNotes
- Inherits:
-
Object
- Object
- AppleMusic::EditorialNotes
- Defined in:
- lib/apple_music/editorial_notes.rb
Overview
Instance Attribute Summary collapse
-
#short ⇒ Object
readonly
Returns the value of attribute short.
-
#standard ⇒ Object
readonly
Returns the value of attribute standard.
Instance Method Summary collapse
-
#initialize(props = {}) ⇒ EditorialNotes
constructor
A new instance of EditorialNotes.
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
#short ⇒ Object (readonly)
Returns the value of attribute short.
6 7 8 |
# File 'lib/apple_music/editorial_notes.rb', line 6 def short @short end |
#standard ⇒ Object (readonly)
Returns the value of attribute standard.
6 7 8 |
# File 'lib/apple_music/editorial_notes.rb', line 6 def standard @standard end |