Class: Stealth::Services::HandleMessageJob

Inherits:
Jobs
  • Object
show all
Defined in:
lib/stealth/services/jobs/handle_message_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(service, params, headers) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/stealth/services/jobs/handle_message_job.rb', line 10

def perform(service, params, headers)
  dispatcher = Stealth::Dispatcher.new(
    service: service,
    params: params,
    headers: headers
  )

  dispatcher.process
end