Module: Keymaker

Defined in:
lib/keymaker/match_method.rb,
lib/keymaker.rb,
lib/keymaker/node.rb,
lib/keymaker/errors.rb,
lib/keymaker/request.rb,
lib/keymaker/service.rb,
lib/keymaker/indexing.rb,
lib/keymaker/response.rb,
lib/keymaker/configuration.rb,
lib/keymaker/requests/batch_request.rb,
lib/keymaker/requests/get_node_request.rb,
lib/keymaker/requests/create_node_request.rb,
lib/keymaker/requests/delete_node_request.rb,
lib/keymaker/requests/service_root_request.rb,
lib/keymaker/parsers/cypher_response_parser.rb,
lib/keymaker/requests/traverse_path_request.rb,
lib/keymaker/requests/execute_cypher_request.rb,
lib/keymaker/requests/batch_get_nodes_request.rb,
lib/keymaker/requests/execute_gremlin_request.rb,
lib/keymaker/requests/add_node_to_index_request.rb,
lib/keymaker/requests/create_relationship_request.rb,
lib/keymaker/requests/delete_relationship_request.rb,
lib/keymaker/requests/get_relationship_types_request.rb,
lib/keymaker/requests/remove_node_from_index_request.rb,
lib/keymaker/requests/update_node_properties_request.rb

Overview

Avdi’s magic sauce

Defined Under Namespace

Modules: Indexing, MatchMethodMacros, Node, Serialization Classes: AddNodeToIndexRequest, BatchGetNodesRequest, BatchRequest, BatchRequestError, ClientError, Configuration, ConflictError, CreateNodeRequest, CreateRelationshipRequest, CypherResponseParser, DeleteNodeRequest, DeleteRelationshipRequest, Error, ExecuteCypherRequest, ExecuteGremlinRequest, GetNodeRequest, GetRelationshipTypesRequest, HttpError, RemoveNodeFromIndexRequest, Request, ResourceNotFound, Response, ServerError, Service, ServiceRootRequest, TraversePathRequest, UpdateNodePropertiesRequest

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject



58
59
60
# File 'lib/keymaker.rb', line 58

def self.configuration
  @configuration
end

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

Yields:



52
53
54
55
56
# File 'lib/keymaker.rb', line 52

def self.configure
  @configuration = Keymaker::Configuration.new
  yield @configuration
  @service = Keymaker::Service.new(@configuration)
end

.serviceObject



48
49
50
# File 'lib/keymaker.rb', line 48

def self.service
  @service ||= Keymaker::Service.new(Keymaker::Configuration.new)
end