Module: DarkskyWeather::Api

Defined in:
lib/darksky_weather/api.rb,
lib/darksky_weather/api/client.rb,
lib/darksky_weather/api/version.rb,
lib/darksky_weather/api/weather_data.rb,
lib/darksky_weather/api/weather_analysis.rb,
lib/darksky_weather/api/weather_collection.rb

Defined Under Namespace

Modules: WeatherAnalysis Classes: Client, Configuration, Error, WeatherCollection, WeatherData

Constant Summary collapse

VERSION =
"0.2.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration


14
15
16
# File 'lib/darksky_weather/api.rb', line 14

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:


17
18
19
20
# File 'lib/darksky_weather/api.rb', line 17

def self.configure
  self.configuration ||= Configuration.new
  yield configuration
end