Sha256: e280f33f4cc3e0c8c128c0d3f3e64596994a78b6b81b0134fcdd57cf603bcd2b
Contents?: true
Size: 914 Bytes
Versions: 17
Compression:
Stored size: 914 Bytes
Contents
require 'canvas_sync/job_uniqueness/lock_context' require 'canvas_sync/job_uniqueness/unique_job_common' require 'canvas_sync/job_uniqueness/strategy' require 'canvas_sync/job_uniqueness/on_conflict' require 'canvas_sync/job_uniqueness/compat' module CanvasSync::JobUniqueness extend ActiveSupport::Autoload autoload :Locksmith autoload :Configuration class Conflict < StandardError attr_reader :lock_context def initialize(lock_context) super() @lock_context = lock_context end end class CouldNotLockError < StandardError attr_reader :lock_context, :source def initialize(lock_context, source:) super() @lock_context = lock_context @source = source end end class << self def configure yield config end def config @config ||= Configuration.new end def logger CanvasSync.logger end end end
Version data entries
17 entries across 17 versions & 1 rubygems