gitlab-org--gitlab-foss/app/services/keys/base_service.rb
gfyoung 265478ad74 Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.

Partially addresses #47424.
2018-07-16 12:36:41 -07:00

16 lines
305 B
Ruby

# frozen_string_literal: true
module Keys
class BaseService
attr_accessor :user, :params
def initialize(user, params = {})
@user, @params = user, params
@ip_address = @params.delete(:ip_address)
end
def notification_service
NotificationService.new
end
end
end