Module: Mostscrobbled

Defined in:
lib/mostscrobbled.rb,
lib/mostscrobbled/artist.rb,
lib/mostscrobbled/last_fm.rb,
lib/mostscrobbled/version.rb

Defined Under Namespace

Modules: LastFm Classes: Artist

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.find(opts = {}) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/mostscrobbled.rb', line 3

def self.find(opts = {})
	begin
		Mostscrobbled::LastFm::Connection.new(opts).artists
	rescue Mostscrobbled::LastFm::Error => e
		puts e
	end
end