class Telesign::PhoneIdClient

A set of APIs that deliver deep phone number data attributes that help optimize the end user verification process and evaluate risk.

Public Instance Methods

phoneid(phone_number, **params) click to toggle source

The PhoneID API provides a cleansed phone number, phone type, and telecom carrier information to determine the best communication method - SMS or voice.

See developer.telesign.com/docs/phoneid-api for detailed API documentation.

# File lib/telesign/phoneid.rb, line 15
def phoneid(phone_number, **params)

  self.post(PHONEID_RESOURCE % {:phone_number => phone_number},
            **params)
end

Private Instance Methods

content_type() click to toggle source
# File lib/telesign/phoneid.rb, line 22
def content_type
  "application/json"
end