Sha256: 356325e2d56d20f00c3dc5425313c978b9dc57b7138fc4eee3a8bd25e2417e02

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

module Propono

  module Subscriber
    def self.subscribe_by_queue(topic)
      QueueSubscriber.subscribe(topic)
    end

    def self.subscribe_by_post(topic, endpoint)
      PostSubscriber.subscribe(topic, endpoint)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
propono-0.3.0 lib/propono/services/subscriber.rb
propono-0.2.0 lib/propono/services/subscriber.rb
propono-0.1.0 lib/propono/subscriber.rb