Sha256: 5c6085cfb40028bf0dbe4b577d145c297ff1c517c3582644db8cb41fde587a37
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
module Duststorm class Base attr_reader :lat, :lng, :options def initialize(lat, lng, options={}) @lat = lat @lng = lng @options = options end def forecast @forecast ||= Forecast.new(weather_data) end private def weather_data WeatherApi.response(lat,lng,options) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
duststorm-0.0.2 | lib/duststorm/base.rb |
duststorm-0.0.1 | lib/duststorm/base.rb |