module Duststorm::WeatherApi
Constants
- DEFAULT_FORECAST_URL
Public Class Methods
klass()
click to toggle source
# File lib/duststorm/weather_api.rb, line 9 def self.klass send(Duststorm.config.keys.first) end
response(lat,lng,options)
click to toggle source
# File lib/duststorm/weather_api.rb, line 5 def self.response(lat,lng,options) WeatherApi::klass.new(lat, lng, options).execute end
Private Class Methods
forecast_io()
click to toggle source
# File lib/duststorm/weather_api.rb, line 15 def self.forecast_io ForecastIo end