class Everlog::Dom::Module::Weather
Public Class Methods
fetch_since(date)
click to toggle source
# File lib/everlog/dom/module/weather.rb, line 8 def fetch_since(date) api_response = self.new.yesterday Dom::Value::Weather.new(api_response) end
Public Instance Methods
yesterday()
click to toggle source
# File lib/everlog/dom/module/weather.rb, line 3 def yesterday Inf::Api::Wunderground.new(@config).yesterday('Tokyo') end