class BandwidthIris::SipPeerProducts

Public Class Methods

create_mms_feature_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 72
def self.create_mms_feature_settings(client, site_id, sippeer_id, data)
  response = client.make_request(:post, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/mms", {:mms_feature => data})
  return response[0][:mms_feature]
end
create_origination_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 14
def self.create_origination_settings(client, site_id, sippeer_id, data)
  response = client.make_request(:post, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/origination/settings", {:sip_peer_origination_settings => data})
  return response[0][:sip_peer_origination_settings]
end
create_sms_feature_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 48
def self.create_sms_feature_settings(client, site_id, sippeer_id, data)
  response = client.make_request(:post, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/sms", {:sip_peer_sms_feature => data})
  return response[0][:sip_peer_sms_feature]
end
create_termination_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 31
def self.create_termination_settings(client, site_id, sippeer_id, data)
  response = client.make_request(:post, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/termination/settings", {:sip_peer_termination_settings => data})
  return response[0][:sip_peer_termination_settings]
end
delete_mms_feature_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 83
def self.delete_mms_feature_settings(client, site_id, sippeer_id)
  client.make_request(:delete, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/mms")
end
delete_sms_feature_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 60
def self.delete_sms_feature_settings(client, site_id, sippeer_id)
  response = client.make_request(:delete, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/sms")
  return response
end
get_messaging_application_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 94
def self.get_messaging_application_settings(client, site_id, sippeer_id)
  response = client.make_request(:get, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/applicationSettings")
  return response[0][:applications_settings]
end
get_messaging_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 106
def self.get_messaging_settings(client, site_id, sippeer_id)
  response = client.make_request(:get, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/settings")
  return response[0][:sip_peer_messaging_settings]
end
get_mms_feature_mms_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 88
def self.get_mms_feature_mms_settings(client, site_id, sippeer_id)
  response = client.make_request(:get, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/mms/settings")
  return response[0][:mms_settings]
end
get_mms_feature_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 66
def self.get_mms_feature_settings(client, site_id, sippeer_id)
  response = client.make_request(:get, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/mms")
  return response[0][:mms_feature]
end
get_origination_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 8
def self.get_origination_settings(client, site_id, sippeer_id)
  response = client.make_request(:get, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/origination/settings")
  return response[0][:sip_peer_origination_settings]
end
get_sms_feature_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 42
def self.get_sms_feature_settings(client, site_id, sippeer_id)
  response = client.make_request(:get, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/sms")
  return response[0][:sip_peer_sms_feature]
end
get_termination_settings(client, site_id, sippeer_id) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 25
def self.get_termination_settings(client, site_id, sippeer_id)
  response = client.make_request(:get, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/termination/settings")
  return response[0][:sip_peer_termination_settings]
end
update_messaging_application_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 100
def self.update_messaging_application_settings(client, site_id, sippeer_id, data)
  response = client.make_request(:put, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/applicationSettings", {:applications_settings => data})
  return response[0][:applications_settings]
end
update_messaging_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 112
def self.update_messaging_settings(client, site_id, sippeer_id, data)
  response = client.make_request(:put, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/settings", {:sip_peer_messaging_settings => data})
  return response[0][:sip_peer_messaging_settings]
end
update_mms_feature_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 78
def self.update_mms_feature_settings(client, site_id, sippeer_id, data)
  client.make_request(:put, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/mms", {:mms_feature => data})
end
update_origination_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 20
def self.update_origination_settings(client, site_id, sippeer_id, data)
  client.make_request(:put, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/origination/settings", {:sip_peer_origination_settings => data})
end
update_sms_feature_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 54
def self.update_sms_feature_settings(client, site_id, sippeer_id, data)
  response = client.make_request(:put, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/messaging/features/sms", {:sip_peer_sms_feature => data})
  return response[0][:sip_peer_sms_feature]
end
update_termination_settings(client, site_id, sippeer_id, data) click to toggle source
# File lib/bandwidth-iris/sip_peer_products.rb, line 37
def self.update_termination_settings(client, site_id, sippeer_id, data)
  client.make_request(:put, "#{client.concat_account_path(SITE_PATH)}/#{site_id}/#{SIPPEER_PATH}/#{sippeer_id}/#{SIPPEER_PRODUCTS_PATH}/termination/settings", {:sip_peer_termination_settings => data})
end