Class: PostgresPR::AuthentificationMD5Password
- Inherits:
-
Authentification
- Object
- Message
- Authentification
- PostgresPR::AuthentificationMD5Password
- Defined in:
- lib/postgres-pr/message.rb
Constant Summary
Constants inherited from Authentification
PostgresPR::Authentification::AuthTypeMap
Constants inherited from Message
Instance Attribute Summary collapse
-
#salt ⇒ Object
Returns the value of attribute salt.
Attributes inherited from Authentification
Instance Method Summary collapse
Methods inherited from Authentification
Methods inherited from Message
create, #dump, dump, read, register_message_type
Instance Attribute Details
#salt ⇒ Object
Returns the value of attribute salt.
117 118 119 |
# File 'lib/postgres-pr/message.rb', line 117 def salt @salt end |
Instance Method Details
#parse(buffer) ⇒ Object
119 120 121 122 123 |
# File 'lib/postgres-pr/message.rb', line 119 def parse(buffer) super do @salt = buffer.read(4) end end |