Class: Notes::AbuseReport::BuildService

Inherits:
BuildService show all
Extended by:
Gitlab::Utils::Override
Defined in:
app/services/notes/abuse_report/build_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods included from Gitlab::Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods inherited from BuildService

#execute

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?, #can_all?, #can_any?

Constructor Details

#initialize(user = nil, params = {}) ⇒ BuildService

Returns a new instance of BuildService.



8
9
10
11
# File 'app/services/notes/abuse_report/build_service.rb', line 8

def initialize(user = nil, params = {})
  @current_user = user
  @params = params.dup
end