Module: Ultracache::Models::MongoidExtension

Defined in:
lib/ultracache/models/mongoid_extension.rb

Instance Method Summary collapse

Instance Method Details

#cached_queue_scoreObject



4
5
6
# File 'lib/ultracache/models/mongoid_extension.rb', line 4

def cached_queue_score
  self.id.to_s[0..6].to_i(16)
end