Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add regional and edge support #520

Merged
merged 3 commits into from
May 13, 2020
Merged

Conversation

childish-sambino
Copy link
Contributor

No description provided.

@@ -78,9 +69,9 @@ private static string UrlFromUri(Domain domain, string region, string uri)
/// <param name="domain">Twilio subdomain</param>
/// <param name="region">Twilio region</param>
/// <returns>URL for the first page of results</returns>
public string GetFirstPageUrl(Domain domain, string region)
public string GetFirstPageUrl(Domain domain, string region = null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this just for backwards compatibility? Don't see region being used in this func.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it will be dropped soon but requires a yoyo change.

public class RequestTest
{
[Test]
public void TestNoEdgeOrRegionInUrl()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really like the way you organized these

@childish-sambino childish-sambino merged commit 7ab4c90 into master May 13, 2020
@childish-sambino childish-sambino deleted the twilio-regional branch May 13, 2020 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants