Class: ActiveMessenger::Adapters::Base
- Inherits:
-
Object
- Object
- ActiveMessenger::Adapters::Base
- Defined in:
- lib/active_messenger/adapters/base.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #send! ⇒ Object
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
13 14 15 |
# File 'lib/active_messenger/adapters/base.rb', line 13 def initialize raise NotImplementedError.new("Adapter does not implement 'initialize'") end |
Class Method Details
.load_config! ⇒ Object
8 9 10 |
# File 'lib/active_messenger/adapters/base.rb', line 8 def load_config! self.config = ActiveMessenger::Core::ConfigParsable.parse_config!(self.config_path) end |
Instance Method Details
#send! ⇒ Object
17 18 19 |
# File 'lib/active_messenger/adapters/base.rb', line 17 def send! raise NotImplementedError.new("Adapter does not implement 'send!'") end |