moar tests for pubsubjob
This commit is contained in:
parent
86154ba348
commit
49225568cb
1 changed files with 0 additions and 2 deletions
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
module Jobs
|
module Jobs
|
||||||
class PublishToHub
|
class PublishToHub
|
||||||
|
|
||||||
require File.join(Rails.root, 'lib/pubsubhubbub')
|
|
||||||
def self.perform(sender_public_url)
|
def self.perform(sender_public_url)
|
||||||
PubSubHubbub.new(AppConfig[:pubsub_server]).publish(sender_public_url)
|
PubSubHubbub.new(AppConfig[:pubsub_server]).publish(sender_public_url)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue