Created
July 18, 2022 14:38
-
-
Save jjn1056/3cf821a24e0b1c1a4c38e2e5cf4c8754 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package MyApp::Controller::Account; | |
sub update_account | |
:Does(RequestModel) | |
:RequestModel(AccountRequest) | |
:Does(RenderErrors) | |
:Errors(BadCSRFToken, InvalidJSON) | |
($self, $c, $request) | |
{ | |
## etc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment