class Net::TTI::PreAuthenticationResponse

Public Instance Methods

auth_sesskey() click to toggle source
# File lib/net/tti/messages/function_calls/pre_authentication_response.rb, line 15
def auth_sesskey
  param = find_param("AUTH_SESSKEY", true)
  return param.kvp_value.tns_unhexify
end
auth_vfr_data() click to toggle source
# File lib/net/tti/messages/function_calls/pre_authentication_response.rb, line 20
def auth_vfr_data
  param = find_param("AUTH_VFR_DATA", true)
  return param.kvp_value.tns_unhexify
end

Private Instance Methods

_ttc_code() click to toggle source
# File lib/net/tti/messages/function_calls/pre_authentication_response.rb, line 10
def _ttc_code
  return TTC_CODE_OK
end
find_param(key, raise_if_not_found=false) click to toggle source
# File lib/net/tti/messages/function_calls/pre_authentication_response.rb, line 25
def find_param(key, raise_if_not_found=false)
  param = self.parameters.find {|p| p.kvp_key == key}
  raise Net::TTI::Exceptions::TTIException.new("No #{key} parameter found") if param.nil? && raise_if_not_found
  return param
end