Module: Memdash::Configuration
- Included in:
- Memdash
- Defined in:
- lib/memdash/configuration.rb
Constant Summary collapse
- DEFAULT_TTL =
60
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
- #ttl ⇒ Object
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
6 7 8 |
# File 'lib/memdash/configuration.rb', line 6 def backend @backend end |
#ttl ⇒ Object
8 9 10 |
# File 'lib/memdash/configuration.rb', line 8 def ttl @ttl ||= DEFAULT_TTL end |