Class: ActiveCypher::Bolt::Messaging::Record

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

Overview

The RECORD message. For when you actually get data back, against all odds.

Constant Summary collapse

SIGNATURE =
0x71

Instance Attribute Summary

Attributes inherited from Message

#fields, #signature

Instance Method Summary collapse

Methods inherited from Message

#==, inherited

Constructor Details

#initialize(values) ⇒ Record



266
267
268
# File 'lib/active_cypher/bolt/messaging.rb', line 266

def initialize(values)
  super(SIGNATURE, [values])
end

Instance Method Details

#valuesObject



270
271
272
# File 'lib/active_cypher/bolt/messaging.rb', line 270

def values
  fields.first
end