Sha256: 0b13536b5f91bd8a618d6f9bfb1d199c077f7a67a665a5db134677e22a715cf5

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

module Miteru
  module Notifiers
    class Base < Service
      def call(website)
        raise NotImplementedError
      end

      def callable?
        raise NotImplementedError
      end

      class << self
        def inherited(child)
          super
          Miteru.notifiers << child
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
miteru-2.0.1 lib/miteru/notifiers/base.rb
miteru-2.0.0 lib/miteru/notifiers/base.rb