Sha256: 81b38977cde3aa6fd3e8408463e3a167f6601f9c2dabbb5bed63e38559f7c46f

Contents?: true

Size: 872 Bytes

Versions: 1

Compression:

Stored size: 872 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/services/post_subscriber"
require "propono/services/publisher"
require "propono/services/queue_creator"
require "propono/services/queue_listener"
require "propono/services/queue_subscriber"
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

1 entries across 1 versions & 1 rubygems

Version Path
propono-0.3.0 lib/propono.rb