Class: BandwidthIris::DiscNumber
- Inherits:
-
Object
- Object
- BandwidthIris::DiscNumber
show all
- Extended by:
- ClientWrapper
- Includes:
- ApiItem
- Defined in:
- lib/bandwidth-iris/disc_number.rb
Class Method Summary
collapse
wrap_client_arg
Methods included from ApiItem
#[], #[]=, #initialize, #to_data
Class Method Details
.list(client) ⇒ Object
8
9
10
|
# File 'lib/bandwidth-iris/disc_number.rb', line 8
def self.list(client)
client.make_request(:get, client.concat_account_path(DISC_NUMBER_PATH))[0][:telephone_numbers]
end
|
.totals(client) ⇒ Object
14
15
16
|
# File 'lib/bandwidth-iris/disc_number.rb', line 14
def self.totals(client)
client.make_request(:get, "#{client.concat_account_path(DISC_NUMBER_PATH)}/totals")[0]
end
|