Module: Neography

Defined in:
lib/neography.rb,
lib/neography/node.rb,
lib/neography/rest.rb,
lib/neography/equal.rb,
lib/neography/index.rb,
lib/neography/config.rb,
lib/neography/errors.rb,
lib/neography/railtie.rb,
lib/neography/version.rb,
lib/neography/property.rb,
lib/neography/neography.rb,
lib/neography/node_path.rb,
lib/neography/connection.rb,
lib/neography/rest/batch.rb,
lib/neography/rest/clean.rb,
lib/neography/rest/nodes.rb,
lib/neography/rest/cypher.rb,
lib/neography/relationship.rb,
lib/neography/rest/gremlin.rb,
lib/neography/rest/helpers.rb,
lib/neography/rest/spatial.rb,
lib/neography/node_traverser.rb,
lib/neography/path_traverser.rb,
lib/neography/rest/extensions.rb,
lib/neography/rest/node_paths.rb,
lib/neography/rest/constraints.rb,
lib/neography/rest/node_labels.rb,
lib/neography/node_relationship.rb,
lib/neography/rest/node_indexes.rb,
lib/neography/rest/transactions.rb,
lib/neography/property_container.rb,
lib/neography/rest/relationships.rb,
lib/neography/rest/node_traversal.rb,
lib/neography/rest/schema_indexes.rb,
lib/neography/rest/node_properties.rb,
lib/neography/relationship_traverser.rb,
lib/neography/rest/node_auto_indexes.rb,
lib/neography/rest/node_relationships.rb,
lib/neography/rest/relationship_types.rb,
lib/neography/rest/relationship_indexes.rb,
lib/neography/rest/relationship_properties.rb,
lib/neography/rest/other_node_relationships.rb,
lib/neography/rest/relationship_auto_indexes.rb

Defined Under Namespace

Modules: Equal, Index, NodePath, NodeRelationship, Property, WasCreated Classes: BadInputException, Config, Connection, DeadlockDetectedException, NeographyError, NoSuchPropertyException, Node, NodeNotFoundException, NodeTraverser, NotFoundException, OperationFailureException, ParameterNotFoundException, PathTraverser, PropertyContainer, PropertyValueException, Railtie, Relationship, RelationshipNotFoundException, RelationshipTraverser, Rest, SyntaxException, UnauthorizedError, UniquePathNotUniqueException, UnknownBatchOptionException

Constant Summary collapse

VERSION =
"1.5.2"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.configurationObject



41
42
43
# File 'lib/neography.rb', line 41

def self.configuration
  @configuration ||= Config.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



37
38
39
# File 'lib/neography.rb', line 37

def self.configure
  yield configuration
end

.ref_node(this_db = Neography::Rest.new) ⇒ Object



5
6
7
# File 'lib/neography/neography.rb', line 5

def ref_node(this_db = Neography::Rest.new)
  this_db.get_root
end

Instance Method Details

#to_sObject



15
16
17
# File 'lib/neography/errors.rb', line 15

def to_s
 "NeographyError: \n--message: #{@message}, \n--code: #{@code}, \n--stacktrace: #{@stacktrace}, \n--request: #{@request}, \n--index: #{@index}"
end