Class: ActivityPub::ProcessingJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- ActivityPub::ProcessingJob
- Defined in:
- app/jobs/activitypub/processing_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(account_id, body) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/jobs/activitypub/processing_job.rb', line 4 def perform(account_id, body) ActivityPub::ProcessCollection.run!( body: body, account: ::Account.find(account_id), override_timestamps: true ) end |