Class: ModSpox::Messages::Internal::PluginRequest
- Defined in:
- lib/mod_spox/messages/internal/PluginRequest.rb
Instance Attribute Summary collapse
-
#plugin ⇒ Object
readonly
plugin requested.
Attributes inherited from Request
Instance Method Summary collapse
-
#initialize(object, name) ⇒ PluginRequest
constructor
- object
- object requesting name
-
Name of plugin Request plugin from bot.
Constructor Details
#initialize(object, name) ⇒ PluginRequest
- object
-
object requesting
- name
-
Name of plugin
Request plugin from bot
11 12 13 14 |
# File 'lib/mod_spox/messages/internal/PluginRequest.rb', line 11 def initialize(object, name) super(object) @plugin = name.is_a?(Symbol) ? name : name.to_sym end |
Instance Attribute Details
#plugin ⇒ Object (readonly)
plugin requested
7 8 9 |
# File 'lib/mod_spox/messages/internal/PluginRequest.rb', line 7 def plugin @plugin end |