Class: AsyncEndpoint::AsyncEndpointWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
app/workers/async_endpoint/async_endpoint_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(async_request_id) ⇒ Object



5
6
7
8
# File 'app/workers/async_endpoint/async_endpoint_worker.rb', line 5

def perform(async_request_id)
  async_request = AsyncRequest.find(async_request_id)
  async_request.execute
end