class BandwidthIris::EmergencyNotificationGroups
Public Class Methods
create_emergency_notification_group_order(client, data)
click to toggle source
# File lib/bandwidth-iris/emergency_notification_groups.rb, line 9 def self.create_emergency_notification_group_order(client, data) response = client.make_request(:post, "#{client.concat_account_path(ENG_ORDERS_PATH)}", {:emergency_notification_group_order => data}) return response[0][:emergency_notification_endpoint_order] end
get_emergency_notification_group(client, eng_id)
click to toggle source
# File lib/bandwidth-iris/emergency_notification_groups.rb, line 27 def self.get_emergency_notification_group(client, eng_id) response = client.make_request(:get, "#{client.concat_account_path(ENG_PATH)}/#{eng_id}") return response[0][:emergency_notification_group] end
get_emergency_notification_group_order(client, order_id)
click to toggle source
# File lib/bandwidth-iris/emergency_notification_groups.rb, line 21 def self.get_emergency_notification_group_order(client, order_id) response = client.make_request(:get, "#{client.concat_account_path(ENG_ORDERS_PATH)}/#{order_id}") return response[0][:emergency_notification_endpoint_order] end
get_emergency_notification_group_orders(client, query=nil)
click to toggle source
# File lib/bandwidth-iris/emergency_notification_groups.rb, line 15 def self.get_emergency_notification_group_orders(client, query=nil) response = client.make_request(:get, "#{client.concat_account_path(ENG_ORDERS_PATH)}", query) return response[0] end
get_emergency_notification_groups(client, query=nil)
click to toggle source
# File lib/bandwidth-iris/emergency_notification_groups.rb, line 33 def self.get_emergency_notification_groups(client, query=nil) response = client.make_request(:get, "#{client.concat_account_path(ENG_PATH)}", query) return response[0] end