Sha256: 4053a4c4ff424b51beee0ccf0e11512a87762a27c2d319b9499476178b6fffb2

Contents?: true

Size: 206 Bytes

Versions: 68

Compression:

Stored size: 206 Bytes

Contents

class IshModels::CacheKey
  include ::Mongoid::Document
  include ::Mongoid::Timestamps

  ## /api/cities.json
  field :cities, :type => Time 

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

end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
ish_models-0.0.33.68 lib/ish_models/cache_key.rb~
ish_models-0.0.33.67 lib/ish_models/cache_key.rb~
ish_models-0.0.33.66 lib/ish_models/cache_key.rb~
ish_models-0.0.33.65 lib/ish_models/cache_key.rb~
ish_models-0.0.33.64 lib/ish_models/cache_key.rb~
ish_models-0.0.33.63 lib/ish_models/cache_key.rb~
ish_models-0.0.33.62 lib/ish_models/cache_key.rb~
ish_models-0.0.33.61 lib/ish_models/cache_key.rb~
ish_models-0.0.33.60 lib/ish_models/cache_key.rb~
ish_models-0.0.33.59 lib/ish_models/cache_key.rb~
ish_models-0.0.33.58 lib/ish_models/cache_key.rb~
ish_models-0.0.33.57 lib/ish_models/cache_key.rb~
ish_models-0.0.33.56 lib/ish_models/cache_key.rb~
ish_models-0.0.33.55 lib/ish_models/cache_key.rb~
ish_models-0.0.33.54 lib/ish_models/cache_key.rb~
ish_models-0.0.33.53 lib/ish_models/cache_key.rb~
ish_models-0.0.33.52 lib/ish_models/cache_key.rb~
ish_models-0.0.33.50 lib/ish_models/cache_key.rb~
ish_models-0.0.33.49 lib/ish_models/cache_key.rb~
ish_models-0.0.33.48 lib/ish_models/cache_key.rb~