class

Curator::Relay

Inherits Reference < Object

Responsible for applying the filters for an event And if the event passes the filter, applying the transformation on the event, i.e pepper the ref and appending the cur relaying them to the available forwards.

Constructors

new(rules : Curator::Filter::Rules, forwards_manager : Curator::Forwards::Manager, transformer : Curator::Transformer)
Source

Instance methods

call(event : Curator::Event)

Performs following

  1. Apply Filters
  2. Transform the event
  3. Hand it to available Forwards
Source
forwards_manager
Source
rules
Source
transformer
Source