Sha256: 568a2a43794c4fa5a1bc6bc4f99d0da54b0c25d3fbf572d334412ad574e435c3

Contents?: true

Size: 261 Bytes

Versions: 2

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

class Circuitbox
  module Notifier
    class Null
      def notify(_circuit_name, _event); end

      def notify_warning(_circuit_name, _message); end

      def notify_run(_circuit_name)
        yield
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
circuitbox-2.0.0 lib/circuitbox/notifier/null.rb
circuitbox-2.0.0.pre5 lib/circuitbox/notifier/null.rb