Class: ActivityPub::ProcessingJob

Inherits:
ApplicationJob show all
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(, body)
  ActivityPub::ProcessCollection.run!(
    body: body,
    account: ::Account.find(),
    override_timestamps: true
  )
end