Class: Shortwave::Provider::TrackProvider
- Inherits:
-
BaseProvider
- Object
- BaseProvider
- Shortwave::Provider::TrackProvider
- Defined in:
- lib/shortwave/providers.rb
Overview
Produces track objects.
Instance Method Summary collapse
-
#get(artist, name) ⇒ Object
Gets a track, given an artist name and a track name.
Methods inherited from BaseProvider
Constructor Details
This class inherits a constructor from Shortwave::Provider::BaseProvider
Instance Method Details
#get(artist, name) ⇒ Object
Gets a track, given an artist name and a track name
139 140 141 |
# File 'lib/shortwave/providers.rb', line 139 def get(artist, name) parse_model @facade.info(:artist => artist, :track => name) end |