Skip to content

Commit

Permalink
DEVDOCS-10339 - adding codeDepot markers
Browse files Browse the repository at this point in the history
  • Loading branch information
InbarGazit committed Jul 11, 2023
1 parent 861ca0e commit 0e478da
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,17 @@ protected Object doWork(WorkArguments args, ModelMap model,
AccountsApi accountsApi = createAccountsApiClient(this.session.getBasePath(), this.user.getAccessToken());

// Step 3: Call the v1 Click API
//ds-snippet-start:Click5Step3
ClickwrapAgreementsResponse clickwrapAgreementsResponse = GetClickwrapResponsesService.getClickwrapResponses(
accountsApi,
this.session.getAccountId(),
args.getClickwrapId());
//ds-snippet-end:Click5Step3

DoneExample.createDefault(this.title)
.withJsonObject(clickwrapAgreementsResponse)
.withMessage(getTextForCodeExampleByApiType().ResultsPageText)
.addToModel(model, config);
return DONE_EXAMPLE_PAGE;
}
// ***DS.snippet.0.end
}

0 comments on commit 0e478da

Please sign in to comment.