Method: Outbound.alias

Defined in:
lib/outbound.rb

.alias(user_id, previous_id) ⇒ Object



39
40
41
42
43
44
45
46
# File 'lib/outbound.rb', line 39

def Outbound.alias(user_id, previous_id)
  if @ob == nil
    res = Result.new Outbound::ERROR_INIT, false
    @logger.error res.error
    return res
  end
  return @ob.identify(user_id, previous_id)
end