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.4 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.3.beta3 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.3.beta2 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.3.beta1 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.2 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.1 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta15 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta14 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta13 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta12 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta11 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta10 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta9 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta8 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta7 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta6 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta5 app/models/canvas_sync/job_log.rb
canvas_sync-0.11.1 app/models/canvas_sync/job_log.rb
canvas_sync-0.17.0.beta4 app/models/canvas_sync/job_log.rb