Class: ActiveCypher::Bolt::Messaging::Success
- Defined in:
- lib/active_cypher/bolt/messaging.rb
Overview
The SUCCESS message. The rarest of all Bolt messages.
Constant Summary collapse
- SIGNATURE =
0x70
Instance Attribute Summary
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(metadata) ⇒ Success
constructor
A new instance of Success.
- #metadata ⇒ Object
Methods inherited from Message
Constructor Details
#initialize(metadata) ⇒ Success
Returns a new instance of Success.
252 253 254 255 |
# File 'lib/active_cypher/bolt/messaging.rb', line 252 def initialize() = Messaging.normalize_map() super(SIGNATURE, []) end |
Instance Method Details
#metadata ⇒ Object
257 258 259 |
# File 'lib/active_cypher/bolt/messaging.rb', line 257 def fields.first end |