Module: Lesli

Defined in:
lib/lesli/r_spec.rb,
lib/lesli.rb,
lib/lesli/engine.rb,
lib/lesli/routing.rb,
lib/lesli/version.rb,
app/lib/lesli/system.rb,
app/models/lesli/role.rb,
app/models/lesli/user.rb,
lib/lesli/configuration.rb,
app/models/lesli/account.rb,
app/models/lesli/user/log.rb,
app/models/lesli/descriptor.rb,
app/models/lesli/role/power.rb,
app/models/lesli/user/agent.rb,
app/models/lesli/user/power.rb,
app/models/lesli/account/log.rb,
app/models/lesli/user/detail.rb,
app/models/lesli/user/request.rb,
app/models/lesli/user/session.rb,
app/models/lesli/user/setting.rb,
app/helpers/lesli/assets_helper.rb,
app/helpers/lesli/system_helper.rb,
app/mailers/lesli/devise_mailer.rb,
app/models/lesli/account/detail.rb,
app/models/lesli/role/privilege.rb,
app/services/lesli/user_service.rb,
app/helpers/lesli/general_helper.rb,
app/models/lesli/account/request.rb,
app/models/lesli/shared/dashboard.rb,
app/models/lesli/system_controller.rb,
app/helpers/lesli/navigation_helper.rb,
app/mailers/lesli/application_mailer.rb,
app/models/lesli/cloud_object/action.rb,
app/validators/lesli/users_validator.rb,
app/models/lesli/descriptor/privilege.rb,
app/controllers/lesli/roles_controller.rb,
app/controllers/lesli/users_controller.rb,
app/helpers/lesli/customization_helper.rb,
app/models/lesli/cloud_object/activity.rb,
app/controllers/lesli/abouts_controller.rb,
app/operators/lesli/controller_operator.rb,
app/services/lesli/user_session_service.rb,
app/models/lesli/cloud_object/discussion.rb,
app/models/lesli/cloud_object/subscriber.rb,
lib/generators/lesli/spec/spec_generator.rb,
app/models/lesli/application_lesli_record.rb,
app/models/lesli/system_controller/action.rb,
app/mailers/lesli/application_lesli_mailer.rb,
app/models/lesli/cloud_object/custom_field.rb,
lib/generators/application_lesli_generator.rb,
app/controllers/lesli/application_controller.rb,
app/operators/lesli/role_descriptor_operator.rb,
app/services/lesli/application_lesli_service.rb,
app/operators/lesli/user_registration_operator.rb,
app/validators/lesli/application_lesli_validator.rb,
app/operators/lesli/descriptor_privilege_operator.rb,
app/controllers/lesli/application_lesli_controller.rb,
app/controllers/lesli/interfaces/controllers/files.rb,
app/controllers/lesli/shared/dashboards_controller.rb,
app/controllers/lesli/application_devise_controller.rb,
app/controllers/lesli/interfaces/application/logger.rb,
app/controllers/lesli/system_controllers_controller.rb,
app/controllers/lesli/interfaces/controllers/actions.rb,
app/controllers/lesli/interfaces/application/requester.rb,
app/controllers/lesli/interfaces/application/responder.rb,
app/controllers/lesli/interfaces/controllers/activities.rb,
app/controllers/lesli/interfaces/controllers/discussions.rb,
app/controllers/lesli/interfaces/controllers/subscribers.rb,
app/controllers/lesli/interfaces/application/authorization.rb,
app/controllers/lesli/interfaces/application/customization.rb

Overview

Lesli

Copyright © 2023, Lesli Technologies, S. A.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see www.gnu.org/licenses/.

Lesli · Your Smart Business Assistant.

Made with ♥ by www.lesli.tech Building a better future, one line of code at a time.

// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ // ·

Defined Under Namespace

Modules: AssetsHelper, CustomizationHelper, GeneralHelper, Interfaces, NavigationHelper, RSpec, Routing, Shared, SystemHelper Classes: AboutsController, Account, ApplicationController, ApplicationDeviseController, ApplicationLesliController, ApplicationLesliGenerator, ApplicationLesliMailer, ApplicationLesliRecord, ApplicationLesliService, ApplicationLesliValidator, ApplicationMailer, ControllerOperator, Descriptor, DescriptorPrivilegeOperator, DeviseMailer, Engine, Role, RoleDescriptorOperator, RolesController, SpecGenerator, System, SystemController, SystemControllersController, User, UserRegistrationOperator, UserService, UserSessionService, UsersController, UsersValidator

Constant Summary collapse

VERSION =
"5.0.13"
BUILD =
"1728877698"

Class Method Summary collapse

Class Method Details

.configObject



42
43
44
# File 'lib/lesli/configuration.rb', line 42

def self.config
    Rails.application.config
end

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

Yields:



34
35
36
37
38
39
40
# File 'lib/lesli/configuration.rb', line 34

def self.configure(&block)
    @config ||= Lesli::Engine::Configuration.new

    yield @config if block

    @config
end