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.22.4 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.3 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.2 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.1 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta8 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta7 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta6 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta5 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta4 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta3 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta2 app/models/canvas_sync/job_log.rb
canvas_sync-0.22.0.beta1 app/models/canvas_sync/job_log.rb
canvas_sync-0.21.1 app/models/canvas_sync/job_log.rb
canvas_sync-0.21.1.beta1 app/models/canvas_sync/job_log.rb
canvas_sync-0.21.0 app/models/canvas_sync/job_log.rb
canvas_sync-0.21.0.beta5 app/models/canvas_sync/job_log.rb
canvas_sync-0.21.0.beta4 app/models/canvas_sync/job_log.rb
canvas_sync-0.21.0.beta3 app/models/canvas_sync/job_log.rb
canvas_sync-0.21.0.beta2 app/models/canvas_sync/job_log.rb