Class: SevenApi::Resources::ValidateForVoice

Inherits:
SevenApi::Resource show all
Defined in:
lib/seven_api/resources/validate_for_voice.rb

Constant Summary

Constants inherited from SevenApi::Resource

SevenApi::Resource::BASE_PATH

Instance Attribute Summary

Attributes inherited from SevenApi::Resource

#api_key, #builder, #conn, #endpoint, #http_methods, #request_methods, #sent_with

Instance Method Summary collapse

Methods inherited from SevenApi::Resource

get_endpoint, get_http_methods, #initialize

Constructor Details

This class inherits a constructor from SevenApi::Resource

Instance Method Details

#retrieve(params) ⇒ Hash

Validate a phone number for using it as caller ID via our voice API read more: docs.seven.io/en/rest-api/endpoints/sender-identifiers#validate-sender-for-voice

Parameters:

  • params (Hash)

Returns:

  • (Hash)


17
18
19
# File 'lib/seven_api/resources/validate_for_voice.rb', line 17

def retrieve(params)
  request(params)
end