Class: Bandwidth::NumberInfo
- Inherits:
-
Object
- Object
- Bandwidth::NumberInfo
- Extended by:
- ClientWrapper
- Defined in:
- lib/bandwidth/number_info.rb
Overview
CNAM API allows the user to get the CNAM information of a particular number
Class Method Summary collapse
-
.get(client, number) ⇒ Hash
Get the CNAM info of a number.
Methods included from ClientWrapper
Class Method Details
.get(client, number) ⇒ Hash
Get the CNAM info of a number
15 16 17 |
# File 'lib/bandwidth/number_info.rb', line 15 def self.get(client, number) client.make_request(:get, "#{NUMBERINFO_PATH}/#{URI.encode(number)}")[0] end |