Sha256: 0bd25c7f110d20f3509e6623ac8dfef56acf34a9b90e0ef603469101ac41b414

Contents?: true

Size: 461 Bytes

Versions: 11

Compression:

Stored size: 461 Bytes

Contents

module Khronos
  class Storage
    module Adapter

      module Mongoid
        class Schedule
          include ::Mongoid::Document

          field :context,     :type => String
          field :at,          :type => DateTime
          field :recurrency,  :type => Integer
          field :callbacks,   :type => Hash
          field :active,      :type => Boolean

          has_many :logs, :class_name => ScheduleLog
        end
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
khronos-0.1.4 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.1.3 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.1.2 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.1.1 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.1.0 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.0.3.pre4 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.0.3.pre3 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.0.3.pre2 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.0.3.pre1 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.0.2 lib/khronos/storage/adapter/mongoid/schedule.rb
khronos-0.0.2.pre1 lib/khronos/storage/adapter/mongoid/schedule.rb