class BandwidthIris::EmergencyNotificationEndpoints
Public Class Methods
create_emergency_notification_endpoint_order(client, data)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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