Class: Stoplight::Notifier::Base Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/stoplight/notifier/base.rb

Overview

This class is abstract.

Direct Known Subclasses

Bugsnag, HipChat, Honeybadger, IO, Logger, Pagerduty, Raven, Rollbar, Slack

Instance Method Summary collapse

Instance Method Details

#notify(_light, _from_color, _to_color, _error) ⇒ String

Parameters:

  • _light (Light)
  • _from_color (String)
  • _to_color (String)
  • _error (Exception, nil)

Returns:

  • (String)

Raises:

  • (NotImplementedError)

12
13
14
# File 'lib/stoplight/notifier/base.rb', line 12

def notify(_light, _from_color, _to_color, _error)
  raise NotImplementedError
end