Skip to content
Snippets Groups Projects
Commit daa1ac0f authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'frozen-string-enable-apps-services-inner-even-more' into 'master'

Enable more frozen string in app/services/**/*.rb

See merge request gitlab-org/gitlab-ce!20702
parents 66f5be83 0cf45deb
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Showing
with 40 additions and 0 deletions
# frozen_string_literal: true
module Prometheus
class AdapterService
def initialize(project, deployment_platform = nil)
Loading
Loading
# frozen_string_literal: true
module ProtectedBranches
class AccessLevelParams
attr_reader :type, :params
Loading
Loading
# frozen_string_literal: true
module ProtectedBranches
class ApiService < BaseService
def create
Loading
Loading
# frozen_string_literal: true
module ProtectedBranches
class CreateService < BaseService
def execute(skip_authorization: false)
Loading
Loading
# frozen_string_literal: true
module ProtectedBranches
class DestroyService < BaseService
def execute(protected_branch)
Loading
Loading
# frozen_string_literal: true
# The branches#protect API still uses the `developers_can_push` and `developers_can_merge`
# flags for backward compatibility, and so performs translation between that format and the
# internal data model (separate access levels). The translation code is non-trivial, and so
Loading
Loading
# frozen_string_literal: true
# The branches#protect API still uses the `developers_can_push` and `developers_can_merge`
# flags for backward compatibility, and so performs translation between that format and the
# internal data model (separate access levels). The translation code is non-trivial, and so
Loading
Loading
# frozen_string_literal: true
module ProtectedBranches
class UpdateService < BaseService
def execute(protected_branch)
Loading
Loading
# frozen_string_literal: true
module ProtectedTags
class CreateService < BaseService
attr_reader :protected_tag
Loading
Loading
# frozen_string_literal: true
module ProtectedTags
class DestroyService < BaseService
def execute(protected_tag)
Loading
Loading
# frozen_string_literal: true
module ProtectedTags
class UpdateService < BaseService
def execute(protected_tag)
Loading
Loading
# frozen_string_literal: true
module QuickActions
class InterpretService < BaseService
include Gitlab::QuickActions::Dsl
Loading
Loading
# frozen_string_literal: true
module Search
class GlobalService
attr_accessor :current_user, :params
Loading
Loading
# frozen_string_literal: true
module Search
class GroupService < Search::GlobalService
attr_accessor :group
Loading
Loading
# frozen_string_literal: true
module Search
class ProjectService
attr_accessor :project, :current_user, :params
Loading
Loading
# frozen_string_literal: true
module Search
class SnippetService
attr_accessor :current_user, :params
Loading
Loading
# frozen_string_literal: true
module Tags
class CreateService < BaseService
def execute(tag_name, target, message, release_description = nil)
Loading
Loading
# frozen_string_literal: true
module Tags
class DestroyService < BaseService
def execute(tag_name)
Loading
Loading
# frozen_string_literal: true
module TestHooks
class BaseService
attr_accessor :hook, :current_user, :trigger
Loading
Loading
# frozen_string_literal: true
module TestHooks
class ProjectService < TestHooks::BaseService
attr_writer :project
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment