Class: Lastfmiefy::Client::Params

Inherits:
Object
  • Object
show all
Defined in:
lib/lastfmiefy/client/params.rb

Class Method Summary collapse

Class Method Details

.normalize(params, method) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/lastfmiefy/client/params.rb', line 4

def self.normalize(params, method)
  params.merge!(
      {
        format: 'json',
        method: method
      }
  )
end