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.27 lib/ish_models/cache_key.rb~
ish_models-0.0.33.26 lib/ish_models/cache_key.rb~
ish_models-0.0.33.25 lib/ish_models/cache_key.rb~
ish_models-0.0.33.24 lib/ish_models/cache_key.rb~
ish_models-0.0.33.23 lib/ish_models/cache_key.rb~
ish_models-0.0.33.22 lib/ish_models/cache_key.rb~
ish_models-0.0.33.21 lib/ish_models/cache_key.rb~
ish_models-0.0.33.20 lib/ish_models/cache_key.rb~
ish_models-0.0.33.19 lib/ish_models/cache_key.rb~
ish_models-0.0.33.18 lib/ish_models/cache_key.rb~
ish_models-0.0.33.17 lib/ish_models/cache_key.rb~
ish_models-0.0.33.16 lib/ish_models/cache_key.rb~
ish_models-0.0.33.15 lib/ish_models/cache_key.rb~
ish_models-0.0.33.14 lib/ish_models/cache_key.rb~
ish_models-0.0.33.13 lib/ish_models/cache_key.rb~
ish_models-0.0.33.12 lib/ish_models/cache_key.rb~
ish_models-0.0.33.11 lib/ish_models/cache_key.rb~
ish_models-0.0.33.10 lib/ish_models/cache_key.rb~
ish_models-0.0.33.8 lib/ish_models/cache_key.rb~
ish_models-0.0.33.7 lib/ish_models/cache_key.rb~