Module: GiantBomb::Api

Includes:
HTTParty
Included in:
Search
Defined in:
lib/giantbomb/api.rb

Class Method Summary collapse

Class Method Details

.configObject



6
7
8
# File 'lib/giantbomb/api.rb', line 6

def self.config
  @@config
end

.key(api_key) ⇒ Object



10
11
12
# File 'lib/giantbomb/api.rb', line 10

def self.key(api_key)
  @@config = { :api_key => api_key, :format => 'json' }
end