Class: Rdio::PlaylistData
- Defined in:
- lib/rdio/datatypes.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#base_icon ⇒ Object
the URL of an icon for the playlist.
-
#embed_url ⇒ Object
the URL of a SWF to embed the playlist.
-
#icon ⇒ Object
the URL of an icon for the playlist.
-
#last_updated ⇒ Object
when the playlist was last modified.
-
#length ⇒ Object
the number of tracks in the playlist.
-
#name ⇒ Object
the name of the playlist.
-
#owner ⇒ Object
the name of the user who created the playlist.
-
#owner_icon ⇒ Object
the icon of the user who created the playlist.
-
#owner_key ⇒ Object
the key of the user who created the playlist.
-
#owner_url ⇒ Object
the URL on the Rdio site of the user who created the playlist.
-
#short_url ⇒ Object
a short URL for the playlist.
-
#type ⇒ Object
the object type, always āpā.
-
#url ⇒ Object
the URL of the playlist on the Rdio site.
Attributes inherited from BaseObj
Attributes inherited from ApiObj
Instance Method Summary collapse
-
#initialize(api) ⇒ PlaylistData
constructor
A new instance of PlaylistData.
Methods inherited from BaseObj
Methods inherited from ApiObj
Constructor Details
#initialize(api) ⇒ PlaylistData
Returns a new instance of PlaylistData.
196 197 198 |
# File 'lib/rdio/datatypes.rb', line 196 def initialize(api) super api end |
Instance Attribute Details
#base_icon ⇒ Object
the URL of an icon for the playlist
216 217 218 |
# File 'lib/rdio/datatypes.rb', line 216 def base_icon @base_icon end |
#embed_url ⇒ Object
the URL of a SWF to embed the playlist
237 238 239 |
# File 'lib/rdio/datatypes.rb', line 237 def @embed_url end |
#icon ⇒ Object
the URL of an icon for the playlist
213 214 215 |
# File 'lib/rdio/datatypes.rb', line 213 def icon @icon end |
#last_updated ⇒ Object
when the playlist was last modified
231 232 233 |
# File 'lib/rdio/datatypes.rb', line 231 def last_updated @last_updated end |
#length ⇒ Object
the number of tracks in the playlist
204 205 206 |
# File 'lib/rdio/datatypes.rb', line 204 def length @length end |
#name ⇒ Object
the name of the playlist
201 202 203 |
# File 'lib/rdio/datatypes.rb', line 201 def name @name end |
#owner ⇒ Object
the name of the user who created the playlist
219 220 221 |
# File 'lib/rdio/datatypes.rb', line 219 def owner @owner end |
#owner_icon ⇒ Object
the icon of the user who created the playlist
228 229 230 |
# File 'lib/rdio/datatypes.rb', line 228 def owner_icon @owner_icon end |
#owner_key ⇒ Object
the key of the user who created the playlist
225 226 227 |
# File 'lib/rdio/datatypes.rb', line 225 def owner_key @owner_key end |
#owner_url ⇒ Object
the URL on the Rdio site of the user who created the playlist
222 223 224 |
# File 'lib/rdio/datatypes.rb', line 222 def owner_url @owner_url end |
#short_url ⇒ Object
a short URL for the playlist
234 235 236 |
# File 'lib/rdio/datatypes.rb', line 234 def short_url @short_url end |
#type ⇒ Object
the object type, always āpā
207 208 209 |
# File 'lib/rdio/datatypes.rb', line 207 def type @type end |
#url ⇒ Object
the URL of the playlist on the Rdio site
210 211 212 |
# File 'lib/rdio/datatypes.rb', line 210 def url @url end |