Class: RMD::Zing::Song
- Inherits:
-
Base::Song
- Object
- Base::Song
- RMD::Zing::Song
- Defined in:
- lib/rmd/zing/song.rb
Instance Attribute Summary
Attributes inherited from Base::Song
Instance Method Summary collapse
Methods inherited from Base::Song
Constructor Details
This class inherits a constructor from RMD::Base::Song
Instance Method Details
#fetch ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/rmd/zing/song.rb', line 8 def fetch if new_link @data_link = RMD::Zing::Utils::CorrectUrl.correct(new_link) else @errors = 'Can not get song from this link!' end end |