Sha256: ab4bd63bb4b05615908cb7ec7f9d091caeda61e58891528be52b6fd09b4f0116

Contents?: true

Size: 316 Bytes

Versions: 17

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

require 'cased/publishers/error'

module Cased
  module Publishers
    class Base
      def publish(_audit_event)
        raise "#{self.class} must implement the #{self.class}#publish method"
      end

      def ==(other)
        self.class == other.class
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cased-ruby-0.8.0 lib/cased/publishers/base.rb
cased-ruby-0.7.1 lib/cased/publishers/base.rb
cased-ruby-0.7.0 lib/cased/publishers/base.rb
cased-ruby-0.6.1 lib/cased/publishers/base.rb
cased-ruby-0.5.2 lib/cased/publishers/base.rb
cased-ruby-0.5.1 lib/cased/publishers/base.rb
cased-ruby-0.5.0 lib/cased/publishers/base.rb
cased-ruby-0.4.8 lib/cased/publishers/base.rb
cased-ruby-0.4.7 lib/cased/publishers/base.rb
cased-ruby-0.4.6 lib/cased/publishers/base.rb
cased-ruby-0.4.5 lib/cased/publishers/base.rb
cased-ruby-0.4.4 lib/cased/publishers/base.rb
cased-ruby-0.4.3 lib/cased/publishers/base.rb
cased-ruby-0.4.2 lib/cased/publishers/base.rb
cased-ruby-0.4.1 lib/cased/publishers/base.rb
cased-ruby-0.4.0 lib/cased/publishers/base.rb
cased-ruby-0.3.3 lib/cased/publishers/base.rb