Class: Forecast::IO::Cache::Configuration
- Inherits:
-
Object
- Object
- Forecast::IO::Cache::Configuration
- Defined in:
- lib/forecast_io/cache/configuration.rb
Instance Attribute Summary collapse
-
#db ⇒ Object
readonly
Returns the value of attribute db.
-
#db_uri ⇒ Object
Returns the value of attribute db_uri.
- #radius ⇒ Object
- #timeframe ⇒ Object
Instance Attribute Details
#db ⇒ Object (readonly)
Returns the value of attribute db.
9 10 11 |
# File 'lib/forecast_io/cache/configuration.rb', line 9 def db @db end |
#db_uri ⇒ Object
Returns the value of attribute db_uri.
9 10 11 |
# File 'lib/forecast_io/cache/configuration.rb', line 9 def db_uri @db_uri end |
#radius ⇒ Object
11 12 13 |
# File 'lib/forecast_io/cache/configuration.rb', line 11 def radius @radius ||= 5 end |
#timeframe ⇒ Object
15 16 17 |
# File 'lib/forecast_io/cache/configuration.rb', line 15 def timeframe @timeframe ||= 60 end |