Class: TestTrack::IdentifierCreationJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/test_track/identifier_creation_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(identifier_type:, visitor_id:, value:) ⇒ Object



3
4
5
6
7
8
9
# File 'app/jobs/test_track/identifier_creation_job.rb', line 3

def perform(identifier_type:, visitor_id:, value:)
  Remote::Identifier.create!(
    identifier_type: identifier_type,
    visitor_id: visitor_id,
    value: value
  )
end