spec/integration/lookups/v1/phone_number_spec.rb in twilio-ruby-5.43.0 vs spec/integration/lookups/v1/phone_number_spec.rb in twilio-ruby-5.44.0
- old
+ new
@@ -61,11 +61,11 @@
"country_code": "US",
"national_format": "(510) 867-5310",
"phone_number": "+15108675310",
"fraud": null,
"add_ons": null,
- "url": "https://lookups.twilio.com/v1/PhoneNumbers/+15108675310?Type=carrier"
+ "url": "https://lookups.twilio.com/v1/PhoneNumbers/+15108675310"
}
]
))
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch()
@@ -89,11 +89,11 @@
"country_code": "GB",
"national_format": "020 7765 1182",
"phone_number": "+4402077651182",
"fraud": null,
"add_ons": null,
- "url": "https://lookups.twilio.com/v1/PhoneNumbers/+4402077651182?Type=carrier"
+ "url": "https://lookups.twilio.com/v1/PhoneNumbers/+4402077651182"
}
]
))
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch()
@@ -115,11 +115,11 @@
"fraud": null,
"country_code": "US",
"national_format": "(510) 867-5310",
"phone_number": "+15108675310",
"add_ons": null,
- "url": "https://lookups.twilio.com/v1/PhoneNumbers/+15108675310?Type=caller-name"
+ "url": "https://lookups.twilio.com/v1/PhoneNumbers/+15108675310"
}
]
))
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch()
@@ -152,11 +152,11 @@
"status": "successful",
"message": null,
"code": null,
"results": {}
},
- "url": "https://lookups.twilio.com/v1/PhoneNumbers/+15108675310?Type=carrier&Type=caller-name"
+ "url": "https://lookups.twilio.com/v1/PhoneNumbers/+15108675310"
}
]
))
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch()
@@ -227,11 +227,11 @@
"is_prepaid": false
}
}
}
},
- "url": "https://lookups.twilio.com/v1/PhoneNumbers/+12127363100?Type=caller-name"
+ "url": "https://lookups.twilio.com/v1/PhoneNumbers/+12127363100"
}
]
))
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch()
@@ -272,11 +272,11 @@
"score": 1
}
}
}
},
- "url": "https://lookups.twilio.com/v1/PhoneNumbers/+19892008374?Type=carrier"
+ "url": "https://lookups.twilio.com/v1/PhoneNumbers/+19892008374"
}
]
))
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch()
@@ -322,10 +322,10 @@
"Description": "Success."
}
}
}
},
- "url": "https://lookups.twilio.com/v1/PhoneNumbers/+16502530000?Type=carrier"
+ "url": "https://lookups.twilio.com/v1/PhoneNumbers/+16502530000"
}
]
))
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch()
\ No newline at end of file