Class: ActiveNotifier::NotifierAdapters::Abstract
- Inherits:
-
ActiveAdapter::Abstract
- Object
- ActiveAdapter::Abstract
- ActiveNotifier::NotifierAdapters::Abstract
- Defined in:
- lib/active_notifier/notifier_adapters/abstract.rb
Overview
Define the interface for ActiveNotifier::Notifier adapter
Instance Method Summary collapse
-
#notify(token, type, message, **options) ⇒ Object
abstract
Notify message.
Instance Method Details
#notify(token, type, message, **options) ⇒ Object
This method is abstract.
Implement through setting a real adapter, like :dingtalk
Notify message
16 17 18 |
# File 'lib/active_notifier/notifier_adapters/abstract.rb', line 16 def notify(token, type, , **) adapter.notify(token, type, , **) end |