-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add show endpoint for reserved domains by user_unique_id
- Add GET /api/v1/business_registry/reserve_domains/:user_unique_id endpoint - Add output_reserved_domains method to FreeDomainReservationHolder model - Add before_action to validate user_unique_id and find holder - Add integration tests for new endpoint - Add model tests for output_reserved_domains method - Update routes to include new endpoint The endpoint returns information about previously reserved domains including names, passwords and expiration dates. Returns 404 if user_unique_id is invalid.
- Loading branch information
1 parent
cb10395
commit 083b5dd
Showing
5 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters