Sha256: 1429452c6f59139c7b7123247fdb17d9f5a0c21b69a37b893bbb6951fec8eec1

Contents?: true

Size: 880 Bytes

Versions: 2

Compression:

Stored size: 880 Bytes

Contents

require "propono/version"
require 'propono/configuration'
require 'propono/components/sns'
require 'propono/components/sqs'
require "propono/components/queue"
require "propono/components/topic"
require "propono/components/post_subscription"
require "propono/components/queue_subscription"

require "propono/services/publisher"
require "propono/services/queue_creator"
require "propono/services/queue_listener"
require "propono/services/subscriber"
require "propono/services/topic_creator"

module Propono
  def self.config
    Configuration.instance
  end

  def self.publish(*args)
    Publisher.publish(*args)
  end

  def self.subscribe_by_queue(*args)
    Subscriber.subscribe_by_queue(*args)
  end

  def self.subscribe_by_post(*args)
    Subscriber.subscribe_by_post(*args)
  end

  def self.listen_to_queue(*args, &block)
    QueueListener.listen(*args, &block)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
propono-0.5.0 lib/propono.rb
propono-0.4.0 lib/propono.rb