Sha256: 9580c8cf95a84a41a914bee5c4690e085750ae99083acc820cf79bb35e44d7db
Contents?: true
Size: 350 Bytes
Versions: 44
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true module Mihari module Notifiers class Base # @return [true, false] def valid? raise NotImplementedError, "You must implement #{self.class}##{__method__}" end def notify raise NotImplementedError, "You must implement #{self.class}##{__method__}" end end end end
Version data entries
44 entries across 44 versions & 1 rubygems
Version | Path |
---|---|
mihari-0.7.0 | lib/mihari/notifiers/base.rb |
mihari-0.6.0 | lib/mihari/notifiers/base.rb |
mihari-0.5.2 | lib/mihari/notifiers/base.rb |
mihari-0.5.1 | lib/mihari/notifiers/base.rb |