Class: Vonage::NumberInsight2
- Inherits:
-
Namespace
- Object
- Namespace
- Vonage::NumberInsight2
- Extended by:
- T::Sig
- Defined in:
- lib/vonage/number_insight_2.rb
Instance Method Summary collapse
Instance Method Details
#fraud_check(type:, phone:, insights:) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/vonage/number_insight_2.rb', line 14 def fraud_check(type:, phone:, insights:) logger.info('This method is deprecated and will be removed in a future release.') raise ArgumentError.new("`insights` must not be an empty") if insights.empty? request('/v2/ni', params: {type: type, phone: phone, insights: insights}, type: Post) end |