class Curator::Relay
- Curator::Relay
- Reference
- Object
Overview
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.
Defined in:
relay/relay.crConstructors
Instance Method Summary
-
#call(event : Curator::Event)
Performs following 1.
- #forwards_manager : Curator::Forwards::Manager
- #rules : Curator::Filter::Rules
- #transformer : Curator::Transformer
Constructor Detail
def self.new(rules : Curator::Filter::Rules, forwards_manager : Curator::Forwards::Manager, transformer : Curator::Transformer)
#
Instance Method Detail
def call(event : Curator::Event)
#
Performs following
- Apply Filters
- Transform the event
- Hand it to available Forwards