Class: CheckerJobs::Notifiers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/checker_jobs/notifiers/base.rb

Direct Known Subclasses

Bugsnag, Email, Logger

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(check, _count, _entries) ⇒ Base

Returns a new instance of Base.



2
3
4
# File 'lib/checker_jobs/notifiers/base.rb', line 2

def initialize(check, _count, _entries)
  @check = check
end

Class Method Details

.default_optionsObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/checker_jobs/notifiers/base.rb', line 10

def self.default_options
  raise NotImplementedError
end

Instance Method Details

#notifyObject

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/checker_jobs/notifiers/base.rb', line 6

def notify
  raise NotImplementedError
end