Skip to content

Idea: JSON API to serve current SMS/voice support#5523

Merged
zachmargolis merged 6 commits intomainfrom
margolis-supported-countries-json
Oct 20, 2021
Merged

Idea: JSON API to serve current SMS/voice support#5523
zachmargolis merged 6 commits intomainfrom
margolis-supported-countries-json

Conversation

@zachmargolis
Copy link
Contributor

@@ -0,0 +1,5 @@
class CountrySupportController < ApplicationController
def index
render json: { countries: PhoneNumberCapabilities::INTERNATIONAL_CODES }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

as a TODO if we do LG-5223 we need to make sure to update this part as well

@zachmargolis
Copy link
Contributor Author

Got some positive feedback so I think this is ready for review

Comment on lines +112 to +113
%r{https://www.login.gov},
%r{https://login.gov},
Copy link
Contributor

Choose a reason for hiding this comment

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

😢 (LG-4838)

zachmargolis and others added 2 commits October 20, 2021 11:58
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
@zachmargolis zachmargolis merged commit 5e2638e into main Oct 20, 2021
@zachmargolis zachmargolis deleted the margolis-supported-countries-json branch October 20, 2021 19:17
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