lib/miteru/notifiers/base.rb
# frozen_string_literal: true
module Miteru
module Notifiers
class Base < Service
def call(kit)
raise NotImplementedError
end
def callable?
raise NotImplementedError
end
def name
@name ||= self.class.to_s.split("::").last
end
class << self
def inherited(child)
super
Miteru.notifiers << child
end
end
end
end
end