Module: Pubsubhubbub

Defined in:
lib/pubsubhubbub.rb,
lib/pubsubhubbub/engine.rb,
lib/pubsubhubbub/version.rb,
app/models/pubsubhubbub/subscription.rb,
app/jobs/pubsubhubbub/application_job.rb,
app/jobs/pubsubhubbub/fetch_topic_job.rb,
app/jobs/pubsubhubbub/verify_intent_job.rb,
app/jobs/pubsubhubbub/deliver_payload_job.rb,
app/models/pubsubhubbub/application_record.rb,
app/controllers/pubsubhubbub/application_controller.rb,
app/controllers/pubsubhubbub/subscriptions_controller.rb

Defined Under Namespace

Modules: Utils Classes: ApplicationController, ApplicationJob, ApplicationRecord, DeliverPayloadJob, Engine, FailedDeliveryError, FetchTopicJob, Subscription, SubscriptionsController, ValidationError, VerifyIntentJob

Constant Summary collapse

XMLNS =
'http://www.w3.org/2005/Atom'
VERSION =
'0.3.2'

Class Method Summary collapse

Class Method Details

.publish(hub_url, topic_url) ⇒ Object


21
22
23
# File 'lib/pubsubhubbub.rb', line 21

def self.publish(hub_url, topic_url)
  FetchTopicJob.perform_later(hub_url, topic_url)
end