Class: BandwidthIris::AvailableNumber
- Inherits:
-
Object
- Object
- BandwidthIris::AvailableNumber
- Extended by:
- ClientWrapper
- Defined in:
- lib/bandwidth-iris/available_number.rb
Class Method Summary collapse
Methods included from ClientWrapper
Class Method Details
.list(client, query) ⇒ Object
7 8 9 10 11 |
# File 'lib/bandwidth-iris/available_number.rb', line 7 def self.list(client, query) list = client.make_request(:get, client.concat_account_path(AVAILABLE_NUMBER_PATH), query)[0][:telephone_number_list][:telephone_number] return [] if !list if list.is_a?(Array) then list else [list] end end |