Class: ModSpox::Messages::Outgoing::Invite
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Invite
- Defined in:
- lib/mod_spox/messages/outgoing/Invite.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
channel to invite nick to.
-
#nick ⇒ Object
readonly
nick to invite.
Instance Method Summary collapse
-
#initialize(nick, channel) ⇒ Invite
constructor
- nick
- nick to invite channel
-
channel to invite nick into Invite user into a channel.
Constructor Details
#initialize(nick, channel) ⇒ Invite
- nick
-
nick to invite
- channel
-
channel to invite nick into
Invite user into a channel
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/Invite.rb', line 12 def initialize(nick, channel) @nick = nick @channel = channel end |
Instance Attribute Details
#channel ⇒ Object (readonly)
channel to invite nick to
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Invite.rb', line 8 def channel @channel end |
#nick ⇒ Object (readonly)
nick to invite
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Invite.rb', line 6 def nick @nick end |