Class: Rdio::PlaylistData

Inherits:
BaseObj show all
Defined in:
lib/rdio/datatypes.rb

Direct Known Subclasses

Playlist

Instance Attribute Summary collapse

Attributes inherited from BaseObj

#key

Attributes inherited from ApiObj

#api

Instance Method Summary collapse

Methods inherited from BaseObj

#eql?, #to_k

Methods inherited from ApiObj

#fill

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_iconObject

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_urlObject

the URL of a SWF to embed the playlist



237
238
239
# File 'lib/rdio/datatypes.rb', line 237

def embed_url
  @embed_url
end

#iconObject

the URL of an icon for the playlist



213
214
215
# File 'lib/rdio/datatypes.rb', line 213

def icon
  @icon
end

#last_updatedObject

when the playlist was last modified



231
232
233
# File 'lib/rdio/datatypes.rb', line 231

def last_updated
  @last_updated
end

#lengthObject

the number of tracks in the playlist



204
205
206
# File 'lib/rdio/datatypes.rb', line 204

def length
  @length
end

#nameObject

the name of the playlist



201
202
203
# File 'lib/rdio/datatypes.rb', line 201

def name
  @name
end

#ownerObject

the name of the user who created the playlist



219
220
221
# File 'lib/rdio/datatypes.rb', line 219

def owner
  @owner
end

#owner_iconObject

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_keyObject

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_urlObject

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_urlObject

a short URL for the playlist



234
235
236
# File 'lib/rdio/datatypes.rb', line 234

def short_url
  @short_url
end

#typeObject

the object type, always ā€œpā€



207
208
209
# File 'lib/rdio/datatypes.rb', line 207

def type
  @type
end

#urlObject

the URL of the playlist on the Rdio site



210
211
212
# File 'lib/rdio/datatypes.rb', line 210

def url
  @url
end