-
Notifications
You must be signed in to change notification settings - Fork 1
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
DEVEXP-462 numbers snippets #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the name of the folder, I would have expected another action to configure the rented number. For instance, you are also providing the SMS config in the rent_any
snippet.
Maybe you can add a second request (update
) to set the Voice config ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done; but will sync with doc.
Seems snippet become more than a simple snippet.
We could imagine something like:
rentAny
snippet: from this PR highlighting rent and configuration for SMS with a single requestrent
snippet: the 1st part of this snippet source to rent an available number returned by "list available"update
snippet: the 2nd part of this snippet source to perform an update onto an already rented number
Will check with doc (@alex-sberna )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
According to last sync:
- rent_and_config become simply 'rent' (even if it contains configuration; the purpose of the snippet is to highlight a 'rent' action)
- a new 'update only' snippet is added
|
||
ActiveNumberService activeNumbersService = numbersService.active(); | ||
|
||
String phoneNumber = "YOUR_phone_number_to_be_rented"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The phone number is already rented at this step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be something like "YOUR_phone_number_to_be_updated"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right
Thank you.
Fixed
No description provided.