Class: CacheJSON::Config
- Inherits:
-
Object
- Object
- CacheJSON::Config
- Defined in:
- lib/cache_json/configure.rb
Class Attribute Summary collapse
-
.time_to_expire ⇒ Object
Returns the value of attribute time_to_expire.
Class Method Summary collapse
Class Attribute Details
.time_to_expire ⇒ Object
Returns the value of attribute time_to_expire.
14 15 16 |
# File 'lib/cache_json/configure.rb', line 14 def time_to_expire @time_to_expire end |
Class Method Details
.options ⇒ Object
7 8 9 10 11 |
# File 'lib/cache_json/configure.rb', line 7 def self. { time_to_expire: time_to_expire } end |