class WeatherSage::Context

Minimal context containing a logger and HTTP request cache.

Attributes

log[RW]

Public Class Methods

new(log, cache) click to toggle source

Create context from given log and cache.

# File lib/weather-sage/context.rb, line 10
def initialize(log, cache)
  @log, @cache = log, cache
end