~singpolyma/sgx-jmp

4251960e8e964e0f102a1b5538623c96387d9ba0 — Stephen Paul Weber 3 months ago e8aeceb
Fix CNAM creation
2 files changed, 4 insertions(+), 2 deletions(-)

M lib/bandwidth_tn_repo.rb
M test/test_customer_repo.rb
M lib/bandwidth_tn_repo.rb => lib/bandwidth_tn_repo.rb +1 -1
@@ 10,7 10,7 @@ class BandwidthTnRepo
	def put_lidb_name(tel, lidb_name)
		BandwidthIris::Lidb.create(
			lidb_tn_groups: { lidb_tn_group: {
				telephone_numbers: [tel.sub(/\A\+1/, "")],
				telephone_numbers: { telephone_number: tel.sub(/\A\+1/, "") },
				subscriber_information: lidb_name,
				use_type: "RESIDENTIAL", visibility: "PUBLIC"
			} }

M test/test_customer_repo.rb => test/test_customer_repo.rb +3 -1
@@ 155,7 155,9 @@ class CustomerRepoTest < Minitest::Test
		).with(body: {
			LidbTnGroups: {
				LidbTnGroup: {
					TelephoneNumbers: "5556667777",
					TelephoneNumbers: {
						TelephoneNumber: "5556667777"
					},
					SubscriberInformation: "Hank",
					UseType: "RESIDENTIAL",
					Visibility: "PUBLIC"