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-1.7.0 lib/propono/services/subscriber.rb
propono-1.6.0 lib/propono/services/subscriber.rb
propono-1.5.0 lib/propono/services/subscriber.rb
propono-1.4.0 lib/propono/services/subscriber.rb
propono-1.3.0 lib/propono/services/subscriber.rb
propono-1.2.0 lib/propono/services/subscriber.rb
propono-1.1.3 lib/propono/services/subscriber.rb
propono-1.1.2 lib/propono/services/subscriber.rb
propono-1.1.1 lib/propono/services/subscriber.rb
propono-1.1.0 lib/propono/services/subscriber.rb
propono-1.0.0 lib/propono/services/subscriber.rb
propono-1.0.0.rc3 lib/propono/services/subscriber.rb
propono-1.0.0.rc2 lib/propono/services/subscriber.rb
propono-1.0.0.rc1 lib/propono/services/subscriber.rb
propono-0.11.1 lib/propono/services/subscriber.rb
propono-0.11.0 lib/propono/services/subscriber.rb
propono-0.10.0 lib/propono/services/subscriber.rb
propono-0.9.1 lib/propono/services/subscriber.rb
propono-0.9.0 lib/propono/services/subscriber.rb
propono-0.8.2 lib/propono/services/subscriber.rb