Module: Mori

Includes:
BCrypt
Defined in:
lib/mori.rb,
lib/mori/token.rb,
lib/mori/engine.rb,
lib/mori/version.rb,
app/models/mori/user.rb,
lib/mori/configuration.rb,
app/mailers/mori/mailer.rb

Defined Under Namespace

Modules: Token Classes: Configuration, Engine, Mailer, RegistrationsController, SessionsController, User

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configurationObject



25
26
27
# File 'lib/mori/configuration.rb', line 25

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

.configuration=(config) ⇒ Object



29
30
31
# File 'lib/mori/configuration.rb', line 29

def self.configuration=(config)
  @configuration = config
end

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

Yields:



33
34
35
# File 'lib/mori/configuration.rb', line 33

def self.configure
  yield configuration
end

.rootObject



9
10
11
# File 'lib/mori.rb', line 9

def self.root
  File.expand_path('../..', __FILE__)
end