Class: Cased::Publishers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/cased/publishers/base.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



12
13
14
# File 'lib/cased/publishers/base.rb', line 12

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

#publish(_audit_event) ⇒ Object



8
9
10
# File 'lib/cased/publishers/base.rb', line 8

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