1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/active_job/identifier.rb
David Heinemeier Hansson 9fcdc3451e Stray CR
2014-05-29 16:27:47 +02:00

15 lines
224 B
Ruby

require 'active_job/arguments'
module ActiveJob
module Identifier
extend ActiveSupport::Concern
included do
attr_writer :job_id
end
def job_id
@job_id ||= SecureRandom.uuid
end
end
end