Module: OpenWeather
- Defined in:
- lib/open_weather/client.rb,
lib/open_weather/config.rb,
lib/open_weather/logger.rb,
lib/open_weather/request.rb,
lib/open_weather/version.rb,
lib/open_weather/connection.rb,
lib/open_weather/models/sys.rb,
lib/open_weather/models/list.rb,
lib/open_weather/models/main.rb,
lib/open_weather/models/rain.rb,
lib/open_weather/models/snow.rb,
lib/open_weather/models/wind.rb,
lib/open_weather/raise_error.rb,
lib/open_weather/errors/fault.rb,
lib/open_weather/models/coord.rb,
lib/open_weather/models/model.rb,
lib/open_weather/models/clouds.rb,
lib/open_weather/models/weather.rb,
lib/open_weather/endpoints/current.rb,
lib/open_weather/endpoints/one_call.rb,
lib/open_weather/models/mixins/temp.rb,
lib/open_weather/models/city/weather.rb,
lib/open_weather/models/mixins/speed.rb,
lib/open_weather/models/one_call/temp.rb,
lib/open_weather/models/one_call/weather.rb,
lib/open_weather/models/one_call/feels_like.rb,
lib/open_weather/models/one_call/daily_weather.rb,
lib/open_weather/models/one_call/hourly_weather.rb,
lib/open_weather/models/one_call/current_weather.rb,
lib/open_weather/models/one_call/minutely_weather.rb
Defined Under Namespace
Modules: Config, Connection, Endpoints, Errors, Models, Request, Response
Classes: Client, Logger
Constant Summary
collapse
- VERSION =
'0.2.0'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
43
44
45
|
# File 'lib/open_weather/config.rb', line 43
def config
Config
end
|
39
40
41
|
# File 'lib/open_weather/config.rb', line 39
def configure
block_given? ? yield(Config) : Config
end
|