Sha256: 10f6856b51e66eac59d715c872601acea1e302523d67fa4f52d8b77ac81d10d5
Contents?: true
Size: 282 Bytes
Versions: 11
Compression:
Stored size: 282 Bytes
Contents
require 'active_record' module Crono # Crono::CronoJob is a ActiveRecord model to store job state class CronoJob < ActiveRecord::Base self.table_name = 'crono_jobs' validates :job_id, presence: true, uniqueness: true def self.outdated self end end end
Version data entries
11 entries across 11 versions & 1 rubygems