Class: Songsterr::Artist
- Inherits:
-
Data::Base
- Object
- Data::Base
- Songsterr::Artist
- Defined in:
- lib/songsterr/artist.rb
Instance Attribute Summary
Attributes inherited from Data::Base
Instance Method Summary collapse
Methods inherited from Data::Base
#attachment_url, #info, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Songsterr::Data::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Songsterr::Data::Base
Instance Method Details
#songs ⇒ Object
3 4 5 |
# File 'lib/songsterr/artist.rb', line 3 def songs @songs ||= Song.where(:artist => info(:name)) end |