Class: Bot::Adapter::Base
- Inherits:
-
Object
- Object
- Bot::Adapter::Base
- Defined in:
- lib/bot/adapters/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ Base
constructor
A new instance of Base.
- #send_messages(messages) ⇒ Object
Constructor Details
#initialize(config = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/bot/adapters/base.rb', line 6 def initialize(config={}) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/bot/adapters/base.rb', line 4 def config @config end |
Instance Method Details
#send_messages(messages) ⇒ Object
10 11 12 |
# File 'lib/bot/adapters/base.rb', line 10 def () raise NotImplementedError end |