Welcome to mirror list, hosted at ThFree Co, Russian Federation.

base_service.rb « two_factor « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0957d7ebabdcf6fe862737135263a4b03a6eeddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module TwoFactor
  class BaseService
    include BaseServiceUtility

    attr_reader :current_user, :params, :user

    def initialize(current_user, params = {})
      @current_user = current_user
      @params = params
      @user = params.delete(:user)
    end
  end
end