Files
danbooru/app/jobs/iqdb_remove_post_job.rb
evazion ad4c75eb1a docs add more docs to app/{jobs,logical}.
These were missed in the last commit.
2021-06-28 05:09:19 -05:00

8 lines
198 B
Ruby

# A job that removes a post from IQDB when it is deleted. Spawned by the {Post}
# class.
class IqdbRemovePostJob < ApplicationJob
def perform(post_id)
IqdbClient.new.remove(post_id)
end
end