Sha256: fc76a5c6f3cd18e3c4dcc2cc5009b87dbde2cea6b83287dc8c8df7c9c25b1168

Contents?: true

Size: 235 Bytes

Versions: 33

Compression:

Stored size: 235 Bytes

Contents

module Propono

  module Subscriber
    def self.subscribe_by_queue(topic)
      QueueSubscription.create(topic)
    end

    def self.subscribe_by_post(topic, endpoint)
      PostSubscription.create(topic, endpoint)
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
propono-0.8.0 lib/propono/services/subscriber.rb
propono-0.7.0 lib/propono/services/subscriber.rb
propono-0.6.3 lib/propono/services/subscriber.rb
propono-0.6.1 lib/propono/services/subscriber.rb
propono-0.6.0 lib/propono/services/subscriber.rb
propono-0.5.6 lib/propono/services/subscriber.rb
propono-0.5.5 lib/propono/services/subscriber.rb
propono-0.5.4 lib/propono/services/subscriber.rb
propono-0.5.3 lib/propono/services/subscriber.rb
propono-0.5.2 lib/propono/services/subscriber.rb
propono-0.5.1 lib/propono/services/subscriber.rb
propono-0.5.0 lib/propono/services/subscriber.rb
propono-0.4.0 lib/propono/services/subscriber.rb