Module: Morpho

Defined in:
lib/morpho.rb,
lib/morpho/cipher.rb,
lib/morpho/engine.rb,
lib/morpho/version.rb,
app/models/morpho/user.rb,
lib/morpho/configuration.rb,
app/api/morpho/entities/base.rb,
app/api/morpho/entities/user.rb,
app/api/morpho/entities/error.rb,
lib/morpho/configurations/api.rb,
lib/morpho/configurations/jwt.rb,
app/api/morpho/resources/users.rb,
app/mailers/morpho/user_mailer.rb,
lib/morpho/configurations/auth.rb,
app/api/morpho/resources/tokens.rb,
app/jobs/morpho/application_job.rb,
app/api/morpho/resources/unlocks.rb,
app/models/morpho/authentication.rb,
lib/morpho/configurations/mailer.rb,
app/api/morpho/resources/passwords.rb,
app/api/morpho/entities/user_sign_in.rb,
app/api/morpho/entities/user_sign_up.rb,
app/api/morpho/resources/activations.rb,
app/models/morpho/application_record.rb,
app/helpers/morpho/application_helper.rb,
app/mailers/morpho/application_mailer.rb,
app/controllers/morpho/home_controller.rb,
app/controllers/morpho/users_controller.rb,
app/api/concerns/morpho/grape/user_unlock.rb,
app/controllers/morpho/unlocks_controller.rb,
app/controllers/morpho/sessions_controller.rb,
app/controllers/morpho/passwords_controller.rb,
app/api/concerns/morpho/grape/http_responses.rb,
app/api/morpho/entities/authentication_token.rb,
app/api/concerns/morpho/grape/user_activation.rb,
app/controllers/morpho/activations_controller.rb,
app/controllers/morpho/application_controller.rb,
lib/morpho/validators/contain_number_validator.rb,
lib/morpho/validators/contain_symbol_validator.rb,
app/api/concerns/morpho/grape/user_registration.rb,
app/api/concerns/morpho/grape/jwt_authentication.rb,
app/api/concerns/morpho/grape/user_password_reset.rb,
lib/morpho/validators/contain_uppercase_validator.rb,
lib/generators/morpho/install/templates/app/api/morpho/api.rb

Defined Under Namespace

Modules: ApplicationHelper, Cipher, Configurations, Entities, Grape, Resources, Validators Classes: API, ActivationsController, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Authentication, Configuration, Engine, HomeController, InstallGenerator, PasswordsController, SessionsController, UnlocksController, User, UserMailer, UsersController

Constant Summary collapse

VERSION =
'0.3.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



18
19
20
# File 'lib/morpho.rb', line 18

def config
  @config ||= Morpho::Configuration.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



14
15
16
# File 'lib/morpho.rb', line 14

def configure
  yield config
end