Class: ModSpox::Messages::Incoming::Invite
- Defined in:
- lib/mod_spox/messages/incoming/Invite.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
channel invited to.
-
#source ⇒ Object
readonly
source nick of invite.
-
#target ⇒ Object
readonly
target nick of invite.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, source, target, channel) ⇒ Invite
constructor
A new instance of Invite.
Constructor Details
#initialize(raw, source, target, channel) ⇒ Invite
Returns a new instance of Invite.
12 13 14 15 16 17 |
# File 'lib/mod_spox/messages/incoming/Invite.rb', line 12 def initialize(raw, source, target, channel) super(raw) @source = source @target = target @channel = channel end |
Instance Attribute Details
#channel ⇒ Object (readonly)
channel invited to
11 12 13 |
# File 'lib/mod_spox/messages/incoming/Invite.rb', line 11 def channel @channel end |
#source ⇒ Object (readonly)
source nick of invite
7 8 9 |
# File 'lib/mod_spox/messages/incoming/Invite.rb', line 7 def source @source end |
#target ⇒ Object (readonly)
target nick of invite
9 10 11 |
# File 'lib/mod_spox/messages/incoming/Invite.rb', line 9 def target @target end |