Class: BandwidthIris::AvailableNpaNxx
- Inherits:
-
Object
- Object
- BandwidthIris::AvailableNpaNxx
- Extended by:
- ClientWrapper
- Defined in:
- lib/bandwidth-iris/available_npa_nxx.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_npa_nxx.rb', line 7 def self.list(client, query) list = client.make_request(:get, client.concat_account_path(AVAILABLE_NPA_NXX_PATH), query)[0][:available_npa_nxx_list][:available_npa_nxx] return [] if !list if list.is_a?(Array) then list else [list] end end |