Class: Konsierge::Notifier::Adapters::BaseAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/konsierge/notifier/adapters/base_adapter.rb

Direct Known Subclasses

Telegram

Instance Method Summary collapse

Instance Method Details

#send_error(error, context: {}, source: nil, **options) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/konsierge/notifier/adapters/base_adapter.rb', line 11

def send_error(error, context: {}, source: nil, **options)
  raise NotImplementedError
end

#send_message(message, context: {}, **options) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/konsierge/notifier/adapters/base_adapter.rb', line 7

def send_message(message, context: {}, **options)
  raise NotImplementedError
end