Module: OpenWeather

Defined in:
lib/open_weather.rb,
lib/open_weather/version.rb,
lib/open_weather/Configuration.rb,
lib/open_weather/current_weather.rb,
lib/open_weather/hourly_forecast.rb,
lib/open_weather/network_request.rb

Defined Under Namespace

Classes: Configuration, CurrentWeather, HourlyForecast, NetworkRequest

Constant Summary collapse

VERSION =
"1.0.4".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/open_weather.rb', line 9

def configuration
  @configuration
end

Class Method Details

.config {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/open_weather.rb', line 15

def config
  yield(configuration)
end