Class: HttpStore::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/http_store/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#store_classObject



9
10
11
# File 'lib/http_store/configuration.rb', line 9

def store_class
  @store_class || HttpStore::HttpLog
end

#store_enableObject



5
6
7
# File 'lib/http_store/configuration.rb', line 5

def store_enable
  @store_enable || true
end

#store_job_enableObject



17
18
19
# File 'lib/http_store/configuration.rb', line 17

def store_job_enable
  @store_job_enable || false
end

#store_timeObject



13
14
15
# File 'lib/http_store/configuration.rb', line 13

def store_time
  @store_time || 31_536_000
end