class Sc20XX::Models::Playlist
stores information on a playlist or set from soundcloud
Public Class Methods
new(hash)
click to toggle source
# File lib/sc20XX/models/playlist.rb, line 5 def initialize(hash) @hash = hash end
Public Instance Methods
id()
click to toggle source
# File lib/sc20XX/models/playlist.rb, line 9 def id @hash['id'] end
title()
click to toggle source
# File lib/sc20XX/models/playlist.rb, line 13 def title @hash['title'] end
uri()
click to toggle source
# File lib/sc20XX/models/playlist.rb, line 17 def uri @hash['uri'] end