Class: ModSpox::Messages::Outgoing::Oper

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, password) ⇒ Oper

name

login name

password

user’s password

Create new Oper message



12
13
14
15
# File 'lib/mod_spox/messages/outgoing/Oper.rb', line 12

def initialize(name, password)
    @name = name
    @password = password
end

Instance Attribute Details

#nameObject (readonly)

login name



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

def name
  @name
end

#passwordObject (readonly)

user’s password



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

def password
  @password
end