Class: BandwidthIris::RateCenter
- Inherits:
-
Object
- Object
- BandwidthIris::RateCenter
- Extended by:
- ClientWrapper
- Defined in:
- lib/bandwidth-iris/rate_center.rb
Class Method Summary collapse
Methods included from ClientWrapper
Class Method Details
.list(client) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/bandwidth-iris/rate_center.rb', line 7 def self.list(client) list = client.make_request(:get, RATE_CENTER_PATH)[0][:rate_centers][:rate_center] return [] if !list if list.is_a?(Array) list else [list] end end |