debian-mirror-gitlab/app/services/keys/base_service.rb
2021-04-29 21:17:54 +05:30

17 lines
311 B
Ruby

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