Class: Workers::PublishToHub

Inherits:
Base
  • Object
show all
Defined in:
app/workers/publish_to_hub.rb

Instance Method Summary collapse

Methods inherited from Base

#suppress_annoying_errors

Instance Method Details

#perform(sender_public_url) ⇒ Object


9
10
11
12
# File 'app/workers/publish_to_hub.rb', line 9

def perform(sender_public_url)
  atom_url = sender_public_url + '.atom'
  Pubsubhubbub.new(AppConfig.environment.pubsub_server.get).publish(atom_url)
end