Module: SnowWeather
- Included in:
- Conditions
- Defined in:
- lib/SnowWeather.rb,
lib/SnowWeather/version.rb,
lib/SnowWeather/conditions.rb,
lib/generators/snow_weather/config/config_generator.rb
Defined Under Namespace
Modules: Generators Classes: Conditions
Constant Summary collapse
- VERSION =
"1.0.7"
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Class Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
12 13 14 |
# File 'lib/SnowWeather.rb', line 12 def api_key @api_key end |
Class Method Details
.api_key(api_key) ⇒ Object
14 15 16 |
# File 'lib/SnowWeather.rb', line 14 def self.api_key(api_key) @@api_key = api_key end |
.get_api_key ⇒ Object
18 19 20 |
# File 'lib/SnowWeather.rb', line 18 def self.get_api_key return @@api_key end |