module Forecast::IO::Cache
Constants
- VERSION
Public Class Methods
call(env)
click to toggle source
# File lib/forecast_io/cache.rb, line 25 def self.call env initialize! @app.call env end
configuration()
click to toggle source
# File lib/forecast_io/cache.rb, line 17 def self.configuration @config ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/forecast_io/cache.rb, line 13 def self.configure yield configuration end
initialize!()
click to toggle source
# File lib/forecast_io/cache.rb, line 21 def self.initialize! @app ||= App.new end