Method: Vonage::NumberInsight#advanced
- Defined in:
- lib/vonage/number_insight.rb
#advanced(params) ⇒ Response
Provides advanced number insight information about a number synchronously.
93 94 95 96 97 98 99 |
# File 'lib/vonage/number_insight.rb', line 93 def advanced(params) response = request('/ni/advanced/json', params: params) raise ServiceError.new(response: response), response[:status_message] unless response.status.zero? response end |