Class: ModSpox::Messages::Internal::PluginResponse
- Defined in:
- lib/mod_spox/messages/internal/PluginResponse.rb
Instance Attribute Summary collapse
-
#plugin ⇒ Object
readonly
plugin object.
Attributes inherited from Response
Instance Method Summary collapse
- #found? ⇒ Boolean
-
#initialize(object, plugin) ⇒ PluginResponse
constructor
- plugin
-
Plugin to send to requester Sends a plugin to requesting object.
Constructor Details
#initialize(object, plugin) ⇒ PluginResponse
- plugin
-
Plugin to send to requester
Sends a plugin to requesting object
10 11 12 13 |
# File 'lib/mod_spox/messages/internal/PluginResponse.rb', line 10 def initialize(object, plugin) super(object) @plugin = plugin end |
Instance Attribute Details
#plugin ⇒ Object (readonly)
plugin object
7 8 9 |
# File 'lib/mod_spox/messages/internal/PluginResponse.rb', line 7 def plugin @plugin end |
Instance Method Details
#found? ⇒ Boolean
15 16 17 |
# File 'lib/mod_spox/messages/internal/PluginResponse.rb', line 15 def found? return !@plugin.nil? end |