Sha256: d0b81dc327f1f938738fb582f0ada60ec3733b25a07d7e77d9713ef2668fc2e0
Contents?: true
Size: 531 Bytes
Versions: 4
Compression:
Stored size: 531 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 if Rails.version > '7.0' serialize :job_arguments, type: Array else serialize :job_arguments, Array end ERROR_STATUS = "error".freeze SUCCESS_STATUS = "success".freeze ENQUEUED_STATUS = "enqueued".freeze RUNNING_STATUS = "running".freeze end end
Version data entries
4 entries across 4 versions & 1 rubygems