module Muve

Muve

The muve gem provides a abstraction layer for the Muve resources which include:

Although the gem is named muve which is short and sweet, the codename for the project is Muvement because is serves as a tool to help with geolocation services.

This gem is mostly for internal use and I expect it to be refactored numerous times to improve its usability and implementation.

Constants

VERSION

Public Class Methods

init(connection=nil, database=nil) click to toggle source

Initialize Muve with an optional connection to the datastore. This could be a MongoDB or PostgreSQL connection for instance. Besides a connection, an adaptor will be needed to actually handle the interaction between the models and the datastore through the given connection.

# File lib/muve.rb, line 70
def self.init(connection=nil, database=nil)
  Model.connection = connection if connection
  Model.database = database if database
end
raise_something() click to toggle source
# File lib/muve.rb, line 75
def self.raise_something
  raise NotConfigured
end