lib/propono/services/subscriber.rb in propono-0.3.0 vs lib/propono/services/subscriber.rb in propono-0.4.0

- old
+ new

@@ -1,12 +1,12 @@ module Propono module Subscriber def self.subscribe_by_queue(topic) - QueueSubscriber.subscribe(topic) + QueueSubscription.create(topic) end def self.subscribe_by_post(topic, endpoint) - PostSubscriber.subscribe(topic, endpoint) + PostSubscription.create(topic, endpoint) end end end