Sha256: 8d912783096ea76a9f4fbd9951da4cfa4e790df7dcd2323afb0643bf222e78c7

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

require 'fediverse/notifier'

module Federails
  class NotifyInboxJob < ApplicationJob
    queue_as :default

    def perform(activity)
      activity.reload
      Fediverse::Notifier.post_to_inboxes(activity)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
federails-0.3.0 app/jobs/federails/notify_inbox_job.rb
federails-0.2.0 app/jobs/federails/notify_inbox_job.rb
federails-0.1.0 app/jobs/federails/notify_inbox_job.rb