class Duststorm::Base
Attributes
lat[R]
lng[R]
options[R]
Public Class Methods
new(lat, lng, options={})
click to toggle source
# File lib/duststorm/base.rb, line 5 def initialize(lat, lng, options={}) @lat = lat @lng = lng @options = options end
Public Instance Methods
forecast()
click to toggle source
# File lib/duststorm/base.rb, line 11 def forecast @forecast ||= Forecast.new(weather_data) end
Private Instance Methods
weather_data()
click to toggle source
# File lib/duststorm/base.rb, line 17 def weather_data WeatherApi.response(lat,lng,options) end