Sha256: 1e60b33166659ab9bcf483ab0a1d7cacd7a8fb9dfe67fb2022a2933335597a35

Contents?: true

Size: 255 Bytes

Versions: 60

Compression:

Stored size: 255 Bytes

Contents

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

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

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

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
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
ish_models-0.0.33.47 lib/ish_models/cache_key.rb
ish_models-0.0.33.46 lib/ish_models/cache_key.rb
ish_models-0.0.33.45 lib/ish_models/cache_key.rb
ish_models-0.0.33.44 lib/ish_models/cache_key.rb
ish_models-0.0.33.43 lib/ish_models/cache_key.rb
ish_models-0.0.33.42 lib/ish_models/cache_key.rb
ish_models-0.0.33.41 lib/ish_models/cache_key.rb
ish_models-0.0.33.40 lib/ish_models/cache_key.rb