Class: Fopost::Rails::PublishJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- Fopost::Rails::PublishJob
- Defined in:
- lib/fopost/rails/publish_job.rb
Overview
Constant Summary
Constants inherited from ApplicationJob
ApplicationJob::MAX_RETRY_WAIT, ApplicationJob::RETRY_AFTER_KEY
Instance Method Summary collapse
Instance Method Details
#perform(post_id) ⇒ Object
14 15 16 |
# File 'lib/fopost/rails/publish_job.rb', line 14 def perform(post_id) with_retry_after { client.posts.publish(post_id) } end |