Class: AppleMusic::Preview
- Defined in:
- lib/apple_music/preview.rb
Overview
Constant Summary
Constants inherited from Resource
Instance Attribute Summary collapse
-
#artwork ⇒ Object
readonly
Returns the value of attribute artwork.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Attributes inherited from Resource
#attributes, #href, #id, #relationships, #type
Instance Method Summary collapse
-
#initialize(props = {}) ⇒ Preview
constructor
A new instance of Preview.
Methods inherited from Resource
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AppleMusic::Resource
Instance Attribute Details
#artwork ⇒ Object (readonly)
Returns the value of attribute artwork.
6 7 8 |
# File 'lib/apple_music/preview.rb', line 6 def artwork @artwork end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
6 7 8 |
# File 'lib/apple_music/preview.rb', line 6 def url @url end |