Sha256: 4263de1421511269637df7264257f24261c4dfec0d8ae18b503b1235087f3c51
Contents?: true
Size: 449 Bytes
Versions: 11
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true module Aws module Rails # SQS ActiveJob modules module SqsActiveJob extend ActiveSupport::Concern included do class_attribute :excluded_deduplication_keys end # class methods for SQS ActiveJob. module ClassMethods def deduplicate_without(*keys) self.excluded_deduplication_keys = keys.map(&:to_s) | ['job_id'] end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems