Class: ActiveCypher::Bolt::Messaging::Pull

Inherits:
Message
  • Object
show all
Defined in:
lib/active_cypher/bolt/messaging.rb

Overview

The PULL message. Because sometimes you just want to see what you got.

Constant Summary collapse

SIGNATURE =
0x3F

Instance Attribute Summary

Attributes inherited from Message

#fields, #signature

Instance Method Summary collapse

Methods inherited from Message

#==, inherited

Constructor Details

#initialize(metadata) ⇒ Pull



187
188
189
190
# File 'lib/active_cypher/bolt/messaging.rb', line 187

def initialize()
  meta = Messaging.normalize_map()
  super(SIGNATURE, [meta])
end

Instance Method Details

#metadataObject



192
193
194
# File 'lib/active_cypher/bolt/messaging.rb', line 192

def 
  fields.first
end