lib/lastfm.rb in lastfm-1.13.1 vs lib/lastfm.rb in lastfm-1.14.0

- old
+ new

@@ -15,10 +15,11 @@ require 'lastfm/method_category/tag' require 'lastfm/method_category/tasteometer' require 'lastfm/method_category/track' require 'lastfm/method_category/user' require 'lastfm/method_category/chart' +require 'lastfm/method_category/radio' class Lastfm API_ROOT = 'http://ws.audioscrobbler.com/2.0' include HTTParty @@ -81,9 +82,13 @@ MethodCategory::User.new(self) end def chart MethodCategory::Chart.new(self) + end + + def radio + MethodCategory::Radio.new(self) end def request(method, params = {}, http_method = :get, with_signature = false, with_session = false) params[:method] = method params[:api_key] = @api_key