Class: ModSpox::Messages::Outgoing::Oper
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Oper
- Defined in:
- lib/mod_spox/messages/outgoing/Oper.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
login name.
-
#password ⇒ Object
readonly
user’s password.
Instance Method Summary collapse
-
#initialize(name, password) ⇒ Oper
constructor
- name
- login name password
-
user’s password Create new Oper message.
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
#name ⇒ Object (readonly)
login name
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Oper.rb', line 6 def name @name end |
#password ⇒ Object (readonly)
user’s password
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Oper.rb', line 8 def password @password end |