class TapRep::Schema
Attributes
key_property[R]
stream[R]
Public Class Methods
new(stream, key_property)
click to toggle source
# File lib/schema.rb, line 9 def initialize(stream, key_property) @stream = stream @key_property = key_property end
Public Instance Methods
properties()
click to toggle source
# File lib/schema.rb, line 50 def properties @properties ||= {} end
to_hash()
click to toggle source
# File lib/schema.rb, line 54 def to_hash { type: :SCHEMA, stream: stream, key_properties: [key_property], schema: { properties: properties } } end