2017-09-15 11:35:24 -04:00
|
|
|
module Keys
|
|
|
|
class BaseService
|
|
|
|
attr_accessor :user, :params
|
|
|
|
|
2018-05-16 14:26:22 -04:00
|
|
|
def initialize(user, params = {})
|
2017-09-15 11:35:24 -04:00
|
|
|
@user, @params = user, params
|
2017-10-24 02:52:47 -04:00
|
|
|
@ip_address = @params.delete(:ip_address)
|
2017-09-15 11:35:24 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
def notification_service
|
|
|
|
NotificationService.new
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|