Class: Wettr::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/wettr/config.rb

Constant Summary collapse

@@API_KEY =
nil
@@config_hash =
{}

Class Method Summary collapse

Class Method Details

.API_KEYObject



10
11
12
# File 'lib/wettr/config.rb', line 10

def self.API_KEY
  @@API_KEY
end

.startObject



5
6
7
8
# File 'lib/wettr/config.rb', line 5

def self.start
  self.read_config_file
  self.set_api_key
end