Class: Refinery::Publisher

Inherits:
Object
  • Object
show all
Includes:
Loggable, Queueable
Defined in:
lib/refinery/publisher.rb

Overview

Base class for publishers to be implemented by subclasses.

Instance Method Summary collapse

Methods included from Queueable

#queue, #with_queue

Methods included from Configurable

#config, #config=

Methods included from Loggable

#logger

Constructor Details

#initialize(waiting_queue_name) ⇒ Publisher

Initialize the publisher with the queue to publish messages to.



8
9
10
# File 'lib/refinery/publisher.rb', line 8

def initialize(waiting_queue_name)
  @waiting_queue_name = waiting_queue_name
end