Module: MuckUsers

Defined in:
lib/muck-users/models/user.rb,
lib/muck-users/config.rb,
lib/muck-users/engine.rb,
lib/muck-users/exceptions.rb,
lib/muck-users/form_builder.rb,
lib/muck-users/secure_methods.rb,
lib/muck-users/models/access_code.rb,
lib/muck-users/mailers/user_mailer.rb,
lib/muck-users/models/access_code_request.rb,
lib/muck-users/controllers/authentic_application.rb

Overview

include MuckUsers::Models::MuckAccessCodeRequest

Defined Under Namespace

Modules: AuthenticApplication, Exceptions, FormBuilder, Mailers, Models, SecureMethods Classes: Configuration, Engine

Class Method Summary collapse

Class Method Details

.configurationObject



3
4
5
6
# File 'lib/muck-users/config.rb', line 3

def self.configuration
  # In case the user doesn't setup a configure block we can always return default settings:
  @configuration ||= Configuration.new
end

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

Yields:



8
9
10
11
# File 'lib/muck-users/config.rb', line 8

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end