summaryrefslogtreecommitdiff
path: root/app/services/keys/base_service.rb
blob: f78791932a7114b766e306a16015d4c31293745d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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