Module: Guacamole

Defined in:
lib/guacamole.rb,
lib/guacamole/edge.rb,
lib/guacamole/model.rb,
lib/guacamole/query.rb,
lib/guacamole/railtie.rb,
lib/guacamole/version.rb,
lib/guacamole/aql_query.rb,
lib/guacamole/callbacks.rb,
lib/guacamole/collection.rb,
lib/guacamole/exceptions.rb,
lib/guacamole/graph_query.rb,
lib/guacamole/transaction.rb,
lib/guacamole/identity_map.rb,
lib/guacamole/configuration.rb,
lib/guacamole/proxies/proxy.rb,
lib/guacamole/edge_collection.rb,
lib/guacamole/proxies/relation.rb,
lib/guacamole/document_model_mapper.rb,
lib/rails/generators/guacamole_generator.rb,
lib/rails/generators/guacamole/model/model_generator.rb,
lib/rails/generators/guacamole/config/config_generator.rb,
lib/rails/generators/guacamole/callbacks/callbacks_generator.rb,
lib/rails/generators/guacamole/collection/collection_generator.rb

Overview

An ODM for ArangoDB

For more general information, see README or Homepage

Defined Under Namespace

Modules: Callbacks, Collection, Edge, EdgeCollection, Generators, Model, Proxies Classes: AqlQuery, Configuration, DocumentModelMapper, GenericError, GraphQuery, IdentityMap, Query, Railtie, Transaction

Constant Summary collapse

VERSION =

Current version of the gem

'0.4.0'

Class Method Summary collapse

Class Method Details

.configurationConfiguration

Contains the configuration of Guacamole

Returns:



28
29
30
# File 'lib/guacamole/configuration.rb', line 28

def configuration
  @configuration ||= Configuration
end

.configure(&config_block) ⇒ Configuration

Configure Guacamole

Takes a block in which you can configure Guacamole.

Returns:



19
20
21
22
23
# File 'lib/guacamole/configuration.rb', line 19

def configure(&config_block)
  config_block.call configuration

  configuration
end

.loggerConfiguration#logger

Just an alias to Configuration#logger

Returns:



35
36
37
# File 'lib/guacamole/configuration.rb', line 35

def logger
  configuration.logger
end