Module: ActiveJob::GoogleCloudTasks::HTTP::Inlining
- Included in:
- Adapter
- Defined in:
- lib/active_job/google_cloud_tasks/http/inline.rb
Instance Method Summary collapse
- #enqueue(job) ⇒ Object (also: #enqueue_at)
-
#enqueue_after_transaction_commit? ⇒ Boolean
Method expected in Rails 7.2 and later.
Instance Method Details
#enqueue(job) ⇒ Object Also known as: enqueue_at
12 13 14 |
# File 'lib/active_job/google_cloud_tasks/http/inline.rb', line 12 def enqueue(job, *) ActiveJob::Base.execute job.serialize end |
#enqueue_after_transaction_commit? ⇒ Boolean
Method expected in Rails 7.2 and later
8 9 10 |
# File 'lib/active_job/google_cloud_tasks/http/inline.rb', line 8 def enqueue_after_transaction_commit? false end |