Class: BandwidthIris::EmergencyNotificationEndpoints
- Inherits:
-
Object
- Object
- BandwidthIris::EmergencyNotificationEndpoints
show all
- Extended by:
- ClientWrapper
- Includes:
- ApiItem
- Defined in:
- lib/bandwidth-iris/emergency_notification_endpoints.rb
Class Method Summary
collapse
wrap_client_arg
Methods included from ApiItem
#[], #[]=, #initialize, #to_data
Class Method Details
.create_emergency_notification_endpoint_order(client, data) ⇒ Object
8
9
10
11
|
# File 'lib/bandwidth-iris/emergency_notification_endpoints.rb', line 8
def self.create_emergency_notification_endpoint_order(client, data)
response = client.make_request(:post, "#{client.concat_account_path(ENE_ORDERS_PATH)}", {:emergency_notification_endpoint_order => data})
return response[0][:emergency_notification_endpoint_order]
end
|
.get_emergency_notification_endpoint_order(client, order_id) ⇒ Object
20
21
22
23
|
# File 'lib/bandwidth-iris/emergency_notification_endpoints.rb', line 20
def self.get_emergency_notification_endpoint_order(client, order_id)
response = client.make_request(:get, "#{client.concat_account_path(ENE_ORDERS_PATH)}/#{order_id}")
return response[0][:emergency_notification_endpoint_order]
end
|
.get_emergency_notification_endpoint_orders(client, query = nil) ⇒ Object
14
15
16
17
|
# File 'lib/bandwidth-iris/emergency_notification_endpoints.rb', line 14
def self.get_emergency_notification_endpoint_orders(client, query=nil)
response = client.make_request(:get, "#{client.concat_account_path(ENE_ORDERS_PATH)}", query)
return response[0]
end
|