Module: MongoStore::Cache::Store

Included in:
ActiveSupport::Cache::MongoStore
Defined in:
lib/active_support/cache/mongo_store.rb

Instance Method Summary collapse

Instance Method Details

#expires_inObject



103
104
105
# File 'lib/active_support/cache/mongo_store.rb', line 103

def expires_in
  options[:expires_in]
end

#expires_in=(val) ⇒ Object



107
108
109
# File 'lib/active_support/cache/mongo_store.rb', line 107

def expires_in=(val)
  options[:expires_in] = val
end