Class: IshModels::CacheKey

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps
Defined in:
lib/ish_models/cache_key.rb

Class Method Summary collapse

Class Method Details

.oneObject


10
11
12
# File 'lib/ish_models/cache_key.rb', line 10

def self.one
  IshModels::CacheKey.first || IshModels::CacheKey.new
end