Class: Projects::RecordTargetPlatformsService

Inherits:
BaseService
  • Object
show all
Includes:
Gitlab::Utils::StrongMemoize
Defined in:
app/services/projects/record_target_platforms_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params

Instance Method Summary collapse

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

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

#can?

Constructor Details

#initialize(project, detector_service) ⇒ RecordTargetPlatformsService

Returns a new instance of RecordTargetPlatformsService.


7
8
9
10
# File 'app/services/projects/record_target_platforms_service.rb', line 7

def initialize(project, detector_service)
  @project = project
  @detector_service = detector_service
end

Instance Method Details

#executeObject


12
13
14
# File 'app/services/projects/record_target_platforms_service.rb', line 12

def execute
  record_target_platforms
end