Class: ActiveCypher::Bolt::Messaging::Logon
- Defined in:
- lib/active_cypher/bolt/messaging.rb
Overview
The LOGON message. Because authentication is just another chance to be rejected.
Constant Summary collapse
- SIGNATURE =
0x6A
Instance Attribute Summary
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(metadata) ⇒ Logon
constructor
A new instance of Logon.
- #metadata ⇒ Object
Methods inherited from Message
Constructor Details
#initialize(metadata) ⇒ Logon
Returns a new instance of Logon.
215 216 217 218 |
# File 'lib/active_cypher/bolt/messaging.rb', line 215 def initialize() = Messaging.normalize_map() super(SIGNATURE, []) end |
Instance Method Details
#metadata ⇒ Object
220 221 222 |
# File 'lib/active_cypher/bolt/messaging.rb', line 220 def fields.first end |