Class: Shortwave::Provider::TrackProvider

Inherits:
BaseProvider show all
Defined in:
lib/shortwave/providers.rb

Overview

Produces track objects.

Instance Method Summary collapse

Methods inherited from BaseProvider

#build, #initialize

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