Class: Telesign::PhoneIdClient

Inherits:
RestClient show all
Defined in:
lib/telesign/phoneid.rb

Overview

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

Instance Method Summary collapse

Methods inherited from RestClient

#delete, generate_telesign_headers, #get, #initialize, #post, #put

Constructor Details

This class inherits a constructor from Telesign::RestClient

Instance Method Details

#phoneid(phone_number, **params) ⇒ Object

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.



15
16
17
18
19
# File 'lib/telesign/phoneid.rb', line 15

def phoneid(phone_number, **params)

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