Class: NeoScout::GDB_Neo4j::Verifier

Inherits:
Verifier
  • Object
show all
Defined in:
lib/neoscout/gdb_neo4j.rb

Instance Attribute Summary

Attributes inherited from Verifier

#allowed_edges, #edge_props, #node_props

Instance Method Summary collapse

Methods inherited from Verifier

#add_valid_edge, #add_valid_edge_sets, #allowed_edge?, #checked_edge_type?, #checked_node_type?, #new_card_constr

Constructor Details

#initialize(typer) ⇒ Verifier

Returns a new instance of Verifier.



110
111
112
113
# File 'lib/neoscout/gdb_neo4j.rb', line 110

def initialize(typer)
  super()
  @typer = typer
end

Instance Method Details

#init_from_json(json) ⇒ Object



123
124
125
# File 'lib/neoscout/gdb_neo4j.rb', line 123

def init_from_json(json)
  super(json)
end

#new_edge_prop_constr(args = {}) ⇒ Object



119
120
121
# File 'lib/neoscout/gdb_neo4j.rb', line 119

def new_edge_prop_constr(args={})
  Constraints::PropConstraint.new args
end

#new_node_prop_constr(args = {}) ⇒ Object



115
116
117
# File 'lib/neoscout/gdb_neo4j.rb', line 115

def new_node_prop_constr(args={})
  Constraints::PropConstraint.new args
end