Module: Stoplight::_StateTransitionNotifier
- Included in:
- Infrastructure::Notifier::FailSafe, Infrastructure::Notifier::IO, Infrastructure::Notifier::Logger, Notifier::Base
- Defined in:
- sig/stoplight/ports/state_transition_notifier.rbs
Instance Method Summary collapse
-
#== ⇒ Boolean
Object methods needed for comparison/inspection.
- #class ⇒ Class
-
#notify ⇒ void
Sends a notification when a Stoplight changes state.
Instance Method Details
#== ⇒ Boolean
Object methods needed for comparison/inspection
12 |
# File 'sig/stoplight/ports/state_transition_notifier.rbs', line 12
def ==: (untyped) -> bool
|
#class ⇒ Class
13 |
# File 'sig/stoplight/ports/state_transition_notifier.rbs', line 13
def class: -> Class
|
#notify ⇒ void
This method returns an undefined value.
Sends a notification when a Stoplight changes state.
9 |
# File 'sig/stoplight/ports/state_transition_notifier.rbs', line 9
def notify: (_LightInfo, color from_color, color to_color, ?StandardError? error) -> void
|