Class: ModSpox::Messages::Outgoing::Invite

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/outgoing/Invite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#channelObject (readonly)

channel to invite nick to



8
9
10
# File 'lib/mod_spox/messages/outgoing/Invite.rb', line 8

def channel
  @channel
end

#nickObject (readonly)

nick to invite



6
7
8
# File 'lib/mod_spox/messages/outgoing/Invite.rb', line 6

def nick
  @nick
end