Module: OpenWeather
- Defined in:
- lib/open_weather.rb,
lib/open_weather/client.rb,
lib/open_weather/version.rb,
lib/open_weather/query_builder.rb
Defined Under Namespace
Classes: Client, QueryBuilder, QueryError
Constant Summary
collapse
- VERSION =
"0.0.3"
Class Method Summary
collapse
Class Method Details
.client ⇒ Object
25
26
27
|
# File 'lib/open_weather.rb', line 25
def self.client
Client.new
end
|
.current(*location) ⇒ Object
9
10
11
|
# File 'lib/open_weather.rb', line 9
def self.current(*location)
client.weather(*location)
end
|
.daily(*location) ⇒ Object
17
18
19
|
# File 'lib/open_weather.rb', line 17
def self.daily(*location)
client.daily_forecast(*location)
end
|
.find(*location) ⇒ Object
21
22
23
|
# File 'lib/open_weather.rb', line 21
def self.find(*location)
client.find(*location)
end
|
.forecast(*location) ⇒ Object
13
14
15
|
# File 'lib/open_weather.rb', line 13
def self.forecast(*location)
client.forecast(*location)
end
|