Class: XRBP::PluginBase
- Inherits:
-
Object
- Object
- XRBP::PluginBase
- Defined in:
- lib/xrbp/plugins/base.rb
Overview
Base plugin definition, common logic shared by all connection plugins.
Direct Known Subclasses
ResultParserBase, WebClient::Plugins::AutoRetry, WebSocket::Plugins::AutoConnect, WebSocket::Plugins::CommandPaginator, WebSocket::Plugins::ConnectionTimeout, WebSocket::Plugins::MessageDispatcher
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize(connection) ⇒ PluginBase
constructor
A new instance of PluginBase.
Constructor Details
#initialize(connection) ⇒ PluginBase
Returns a new instance of PluginBase.
6 7 8 |
# File 'lib/xrbp/plugins/base.rb', line 6 def initialize(connection) @connection = connection end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
4 5 6 |
# File 'lib/xrbp/plugins/base.rb', line 4 def connection @connection end |