Class: ServiceDesk::CustomEmailVerifications::BaseService
- Inherits:
-
BaseProjectService
- Object
- BaseContainerService
- BaseProjectService
- ServiceDesk::CustomEmailVerifications::BaseService
- Includes:
- ServiceDesk::CustomEmails::Logger
- Defined in:
- app/services/service_desk/custom_email_verifications/base_service.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
Attributes inherited from BaseProjectService
Attributes inherited from BaseContainerService
#container, #current_user, #group, #params, #project
Instance Method Summary collapse
-
#initialize(project:, current_user: nil, params: {}) ⇒ BaseService
constructor
A new instance of BaseService.
Methods inherited from BaseContainerService
#group_container?, #namespace_container?, #project_container?, #project_group, #root_ancestor
Methods included from BaseServiceUtility
#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level
Methods included from Gitlab::Allowable
Constructor Details
#initialize(project:, current_user: nil, params: {}) ⇒ BaseService
Returns a new instance of BaseService.
10 11 12 13 14 |
# File 'app/services/service_desk/custom_email_verifications/base_service.rb', line 10 def initialize(project:, current_user: nil, params: {}) super(project: project, current_user: current_user, params: params) @settings = project.service_desk_setting end |
Instance Attribute Details
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
8 9 10 |
# File 'app/services/service_desk/custom_email_verifications/base_service.rb', line 8 def settings @settings end |