Method: Vonage::NumberInsight#advanced_async
- Defined in:
- lib/vonage/number_insight.rb
#advanced_async(params) ⇒ Response
Provides advanced number insight number information asynchronously using the URL specified in the callback parameter.
132 133 134 135 136 137 138 |
# File 'lib/vonage/number_insight.rb', line 132 def advanced_async(params) response = request('/ni/advanced/async/json', params: params) raise ServiceError.new(response: response), response[:status_message] unless response.status.zero? response end |