Module: LastFM::Meta

Included in:
LastFM
Defined in:
lib/last_fm/meta.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, args = {:page=>1,:limit=>20}) ⇒ Object

This method handles and return most API call in their default format. Override as needed within each class



5
6
7
# File 'lib/last_fm/meta.rb', line 5

def method_missing(method,args = {:page=>1,:limit=>20})
  get lfm_query(method,args)
end