Module: Ashikawa::Core

Defined in:
lib/ashikawa-core.rb,
lib/ashikawa-core/edge.rb,
lib/ashikawa-core/graph.rb,
lib/ashikawa-core/query.rb,
lib/ashikawa-core/index.rb,
lib/ashikawa-core/figure.rb,
lib/ashikawa-core/status.rb,
lib/ashikawa-core/cursor.rb,
lib/ashikawa-core/version.rb,
lib/ashikawa-core/database.rb,
lib/ashikawa-core/document.rb,
lib/ashikawa-core/connection.rb,
lib/ashikawa-core/collection.rb,
lib/ashikawa-core/transaction.rb,
lib/ashikawa-core/key_options.rb,
lib/ashikawa-core/configuration.rb,
lib/ashikawa-core/error_response.rb,
lib/ashikawa-core/minimal_logger.rb,
lib/ashikawa-core/edge_collection.rb,
lib/ashikawa-core/faraday_factory.rb,
lib/ashikawa-core/x_arango_version.rb,
lib/ashikawa-core/vertex_collection.rb,
lib/ashikawa-core/exceptions/server_error.rb,
lib/ashikawa-core/exceptions/client_error.rb,
lib/ashikawa-core/exceptions/no_collection_provided.rb,
lib/ashikawa-core/exceptions/server_error/json_error.rb,
lib/ashikawa-core/exceptions/client_error/bad_syntax.rb,
lib/ashikawa-core/exceptions/client_error/resource_not_found.rb,
lib/ashikawa-core/exceptions/client_error/authentication_failed.rb,
lib/ashikawa-core/exceptions/client_error/edge_collection_already_present.rb,
lib/ashikawa-core/exceptions/client_error/vertex_collection_already_present.rb,
lib/ashikawa-core/exceptions/client_error/resource_not_found/graph_not_found.rb,
lib/ashikawa-core/exceptions/client_error/resource_not_found/index_not_found.rb,
lib/ashikawa-core/exceptions/client_error/resource_not_found/document_not_found.rb,
lib/ashikawa-core/exceptions/client_error/resource_not_found/collection_not_found.rb,
lib/ashikawa-core/exceptions/client_error/resource_not_found/collection_not_in_graph.rb

Overview

Ashikawa::Core is a wrapper around the ArangoDB REST interface

Defined Under Namespace

Classes: AuthenticationFailed, BadSyntax, ClientError, Collection, CollectionNotFoundException, CollectionNotInGraphException, Configuration, Connection, Cursor, Database, Document, DocumentNotFoundException, Edge, EdgeCollection, EdgeCollectionAlreadyPresent, ErrorResponse, FaradayFactory, Figure, Graph, GraphNotFoundException, Index, IndexNotFoundException, JsonError, KeyOptions, MinimalLogger, NoCollectionProvidedException, Query, ResourceNotFound, ServerError, Status, Transaction, VertexCollection, VertexCollectionAlreadyPresent, XArangoVersion

Constant Summary collapse

VERSION =

Current version of Ashikawa::Core

'0.14.0'
ARANGODB_MAJOR_VERSION =

The lowest supported ArangoDB major version

2
ARANGODB_MINOR_VERSION =

The lowest supported ArangoDB minor version

2

Class Method Summary collapse

Class Method Details

.api_compatibility_versionObject


13
14
15
# File 'lib/ashikawa-core/version.rb', line 13

def self.api_compatibility_version
  (ARANGODB_MAJOR_VERSION * 10_000 + ARANGODB_MINOR_VERSION * 100).to_s
end