Class: Lita::Adapters::Test::ChatService
- Inherits:
-
Object
- Object
- Lita::Adapters::Test::ChatService
- Defined in:
- lib/lita/adapters/test.rb
Overview
Adapter-specific methods exposed through Robot.
Instance Method Summary collapse
-
#initialize(sent_messages) ⇒ ChatService
constructor
A new instance of ChatService.
-
#sent_messages ⇒ Object
An array of recorded outgoing messages.
Constructor Details
#initialize(sent_messages) ⇒ ChatService
Returns a new instance of ChatService.
9 10 11 |
# File 'lib/lita/adapters/test.rb', line 9 def initialize() @sent_messages = end |
Instance Method Details
#sent_messages ⇒ Object
An array of recorded outgoing messages.
14 15 16 |
# File 'lib/lita/adapters/test.rb', line 14 def @sent_messages.dup end |