Sha256: e1ca8e553b9f76b1e359d96882dbe4f1ac0d10afe6c4dff7f95fcb9005588a55

Contents?: true

Size: 439 Bytes

Versions: 162

Compression:

Stored size: 439 Bytes

Contents

module CanvasSync
  # When you write a job that inherits from CanvasSync::Job it will log to the canvas_sync_job_logs table
  #
  # Use this model to track failures, job run times, and metadata about a job.
  class JobLog < ApplicationRecord
    serialize :job_arguments, Array

    ERROR_STATUS = "error".freeze
    SUCCESS_STATUS = "success".freeze
    ENQUEUED_STATUS = "enqueued".freeze
    RUNNING_STATUS = "running".freeze
  end
end

Version data entries

162 entries across 162 versions & 1 rubygems

Version Path
canvas_sync-0.17.32 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.31 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.30 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.29 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.28 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.27 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.27.beta1 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.26.beta1 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.24 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23.beta8 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23.beta7 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23.beta6 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23.beta5 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23.beta4 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23.beta2 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.23.beta1 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.20 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.19 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.18 app/models/canvas_sync/job_log.rb