Class: ModSpox::Messages::Outgoing::Pass

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

Overview

Send PASS command

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(password) ⇒ Pass

password

connection password

Create new Pass



10
11
12
# File 'lib/mod_spox/messages/outgoing/Pass.rb', line 10

def initialize(password)
    @password = @message
end

Instance Attribute Details

#passwordObject (readonly)

connection password



7
8
9
# File 'lib/mod_spox/messages/outgoing/Pass.rb', line 7

def password
  @password
end