class BandwidthIris::EmergencyNotificationRecipients
Public Class Methods
Source
# File lib/bandwidth-iris/emergency_notification_recipients.rb, line 8 def self.create_emergency_notification_recipient(client, data) response = client.make_request(:post, "#{client.concat_account_path(ENR_PATH)}", {:emergency_notification_recipient => data}) return response[0][:emergency_notification_recipient] end
Source
# File lib/bandwidth-iris/emergency_notification_recipients.rb, line 32 def self.delete_emergency_notification_recipient(client, enr_id) client.make_request(:delete, "#{client.concat_account_path(ENR_PATH)}/#{enr_id}") end
Source
# File lib/bandwidth-iris/emergency_notification_recipients.rb, line 20 def self.get_emergency_notification_recipient(client, enr_id) response = client.make_request(:get, "#{client.concat_account_path(ENR_PATH)}/#{enr_id}") return response[0][:emergency_notification_recipient] end
Source
# File lib/bandwidth-iris/emergency_notification_recipients.rb, line 14 def self.get_emergency_notification_recipients(client, query=nil) response = client.make_request(:get, "#{client.concat_account_path(ENR_PATH)}", query) return response[0] end
Source
# File lib/bandwidth-iris/emergency_notification_recipients.rb, line 26 def self.replace_emergency_notification_recipient(client, enr_id, data) response = client.make_request(:put, "#{client.concat_account_path(ENR_PATH)}/#{enr_id}", {:emergency_notification_recipient => data}) return response[0][:emergency_notification_recipient] end