Class: Play::Album

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/play/album.rb

Instance Method Summary collapse

Instance Method Details

#enqueue!(user) ⇒ Object

Queue up an entire ALBUM!

user - the User who is requesting the album to be queued

Returns nothing.



11
12
13
# File 'lib/play/album.rb', line 11

def enqueue!(user)
  songs.each{ |song| song.enqueue!(user) }
end