Class: CacheFlow::Configuration
- Inherits:
-
Object
- Object
- CacheFlow::Configuration
- Defined in:
- lib/cache-flow/configuration.rb
Instance Attribute Summary collapse
-
#default_options ⇒ Object
Returns the value of attribute default_options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Put all these constants into a configurable setting hash Hour range based on 24 hour clock.
Constructor Details
#initialize ⇒ Configuration
Put all these constants into a configurable setting hash Hour range based on 24 hour clock
7 8 9 10 11 12 13 |
# File 'lib/cache-flow/configuration.rb', line 7 def initialize @default_options = { time_zone: "Pacific Time (US & Canada)", hour_range_start: 1, hour_range_end: 4 } end |
Instance Attribute Details
#default_options ⇒ Object
Returns the value of attribute default_options.
3 4 5 |
# File 'lib/cache-flow/configuration.rb', line 3 def @default_options end |