Class: RMD::NCT::Playlist
- Inherits:
-
Base::Playlist
- Object
- Base::Playlist
- RMD::NCT::Playlist
- Defined in:
- lib/rmd/nct/playlist.rb
Instance Attribute Summary
Attributes inherited from Base::Playlist
Instance Method Summary collapse
Methods inherited from Base::Playlist
Constructor Details
This class inherits a constructor from RMD::Base::Playlist
Instance Method Details
#fetch ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/rmd/nct/playlist.rb', line 7 def fetch calculate_progress do |link| song = RMD::NCT::Song.new(link) song.fetch if song.success? @songs << song.data_link else @errors << song.errors end end end |