weather/app/models/ruling_weather_cache.rb

7 lines
202 B
Ruby
Raw Normal View History

2021-12-08 10:21:08 +00:00
class RulingWeatherCache
include Mongoid::Document
include Mongoid::Timestamps
field :cache
field :cache_time , :type=> DateTime, :default=> DateTime.now
belongs_to :ruling_weather_setting
end