Class: CacheJSON::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/cache_json/configure.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.time_to_expireObject

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

.optionsObject



7
8
9
10
11
# File 'lib/cache_json/configure.rb', line 7

def self.options
  {
    time_to_expire: time_to_expire
  }
end