require pubsubhubub in the job'
This commit is contained in:
parent
49b172f192
commit
73821859e6
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ module Jobs
|
|||
@queue = :http_service
|
||||
|
||||
def self.perform(sender_public_url)
|
||||
require File.join(Rails.root, 'lib/pubsubhubbub')
|
||||
Pubsubhubbub.new(AppConfig[:pubsub_server]).publish(sender_public_url)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue