Class: CacheFlow::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/cache-flow/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_optionsObject

Returns the value of attribute default_options.



3
4
5
# File 'lib/cache-flow/configuration.rb', line 3

def default_options
  @default_options
end