Skip to content

Commit e940b78

Browse files
Edited text on click1-6 to match standard (#53)
* Edited text on click1-6 to match standard * Updated text for click1-5 * Minor text changes to click 5 * Edited text for click5 * Changed label on Click5
1 parent 10fb19f commit e940b78

File tree

11 files changed

+57
-66
lines changed

11 files changed

+57
-66
lines changed

app/controllers/clickwrap/eg001_create_clickwrap_controller.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def create
1414
session[:clickwrap_id] = results.clickwrap_id
1515
session[:clickwrap_name] = results.clickwrap_name
1616

17-
@title = 'Creating a new clickwrap'
18-
@h1 = 'Creating a new clickwrap'
19-
@message = "The clickwrap #{results.clickwrap_name} has been created!"
17+
@title = 'Create a clickwrap'
18+
@h1 = 'Create a clickwrap'
19+
@message = "The clickwrap #{results.clickwrap_name} has been created."
2020
@json = results.to_json.to_json
2121
render 'ds_common/example_done'
2222
end

app/controllers/clickwrap/eg002_activate_clickwrap_controller.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ def create
1111

1212
results = Clickwrap::Eg002ActivateClickwrapService.new(args).worker
1313

14-
@title = 'Activating a new clickwrap'
15-
@h1 = 'Activating a new clickwrap'
16-
@message = "The clickwrap #{results.clickwrap_name} has been activated"
14+
@title = 'Activate a new clickwrap'
15+
@h1 = 'Activate a new clickwrap'
16+
@message = "The clickwrap #{results.clickwrap_name} has been activated."
1717
render 'ds_common/example_done'
1818
end
1919
end

app/controllers/clickwrap/eg003_create_new_clickwrap_version_controller.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ def create
1212

1313
results = Clickwrap::Eg003CreateNewClickwrapVersionService.new(args).worker
1414
puts results.to_json.to_json
15-
@title = 'Creating a new clickwrap version'
16-
@h1 = 'Creating a new clickwrap version'
17-
@message = "Version #{results.version_number} of clickwrap #{results.clickwrap_name} has been created"
15+
@title = 'Create a new clickwrap version'
16+
@h1 = 'Create a new clickwrap version'
17+
@message = "Version #{results.version_number} of clickwrap #{results.clickwrap_name} has been created."
1818
render 'ds_common/example_done'
1919
end
2020
end

app/controllers/clickwrap/eg004_list_clickwraps_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ def create
1010

1111
results = Clickwrap::Eg004ListClickwrapsService.new(args).worker
1212

13-
@title = 'List clickwraps results'
14-
@h1 = 'List clickwraps results'
13+
@title = 'Get a list of clickwraps'
14+
@h1 = 'Get a list of clickwraps'
1515
@message = "Results from the ClickWraps::getClickwraps method:"
1616
@json = results.to_json.to_json
1717
render 'ds_common/example_done'

app/controllers/clickwrap/eg005_clickwrap_responses_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def create
1212

1313
results = Clickwrap::Eg005ClickwrapResponsesService.new(args).worker
1414

15-
@title = 'Getting clickwrap responses'
16-
@h1 = 'Getting clickwrap responses'
15+
@title = 'Get clickwrap responses'
16+
@h1 = 'Get clickwrap responses'
1717
@message = "Results from the ClickWraps::getClickwrapAgreements method:"
1818
@json = results.to_json.to_json
1919
render 'ds_common/example_done'

app/views/clickwrap/eg001_create_clickwrap/get.html.erb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<h4>1. Creating a clickwrap</h4>
2-
<p>This example demonstrates how to use the DocuSign Click API to create a
3-
clickwrap that you can embed in your website or app.</p>
1+
<h4>1. Create a clickwrap</h4>
2+
<p>Creates a clickwrap that you can embed in your website or app.</p>
43

54
<p>API method used:
65
<a target='_blank' href="https://developers.docusign.com/docs/click-api/reference/accounts/clickwraps/createclickwrap/">ClickWraps::createClickwrap</a>

app/views/clickwrap/eg002_activate_clickwrap/get.html.erb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
<h4>2. Activating a clickwrap</h4>
1+
<h4>2. Activate a clickwrap</h4>
22
<p>
3-
This example demonstrates how to use the DocuSign Click API to activate a new
4-
clickwrap that you have already created.
5-
<br/>
6-
By default, new clickwraps are inactive. You must activate your clickwrap before
7-
you can use it.
3+
Activates a new clickwrap that you have already created. By default, new clickwraps are
4+
inactive. You must activate your clickwrap before you can use it.
85
</p>
96

107
<p>API method used:

app/views/clickwrap/eg003_create_new_clickwrap_version/get.html.erb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<h4>3. Creating a new clickwrap version</h4>
1+
<h4>3. Create a new clickwrap version</h4>
22
<p>
3-
This example demonstrates how to use the DocuSign Click API to create a new version
4-
of a clickwrap.
5-
<br/>
6-
You can specify whether you require users who have
7-
previously accepted the clickwrap to accept the new version when they
8-
return to your website.
3+
Creates a new version of a clickwrap.
4+
</p>
5+
<p>
6+
You can specify whether you require users who have previously accepted the clickwrap
7+
to accept the new version when they return to your website.
98
</p>
109

1110
<p>API method used:

app/views/clickwrap/eg004_list_clickwraps/get.html.erb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<h4>4. Getting a list of clickwraps</h4>
1+
<h4>4. Get a list of clickwraps</h4>
22
<p>
3-
This example demonstrates how to use the DocuSign Click API to get a list of
4-
clickwraps associated with a specific DocuSign user.
3+
Gets a list of clickwraps associated with a specific DocuSign user.
54
</p>
65

76
<p>API method used:

app/views/clickwrap/eg005_clickwrap_responses/get.html.erb

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<h4>5. Getting clickwrap responses</h4>
1+
<h4>5. Get clickwrap responses</h4>
22
<p>
3-
This example demonstrates how to use the DocuSign Click API to get a list of
4-
clickwrap responses associated with a specific DocuSign user.
3+
Gets user responses to your clickwrap agreements.
54
</p>
65

76
<p>API method used:
@@ -13,16 +12,30 @@
1312
</p>
1413

1514
<% if session[:clickwrap_id] %>
15+
1616
<p>
17-
The clickwrap you created via example 1 will be queried.
18-
<br/>
19-
Please enter a value that uniquely identifies a user, such as an email
20-
address or employee ID
17+
First, test your clickwrap:
18+
</p>
19+
20+
<ul>
21+
<li>Log in to your developer account and select the <strong>Manage</strong> page.
22+
<li>Select the <strong>Clickwraps</strong> tab.
23+
<li>
24+
In the list of active clickwraps, locate the one you want to test, then click
25+
the dropdown arrow to the right of <strong>COPY CODE</strong> and select <strong>Test Clickwrap</strong>.
26+
</li>
27+
<li>In the Test Clickwrap dialog box, click <strong>TEST CLICKWRAP</strong>.
28+
<li>In the Test Your Clickwrap browser page, in the <stron>Unique ID</strong> field, enter any string, then click <strong>Test Clickwrap</strong>.
29+
<li>Review your displayed clickwrap and click <strong>I AGREE</strong> (or the equivalent button you configured) to complete the test.
30+
</ul>
31+
32+
<p>
33+
Then enter the same string you used to test your clickwrap in the field below.
2134
</p>
2235

2336
<form class="eg" action="" method="post" data-busy="form">
2437
<div class="form-group">
25-
<label for="client_user_id">User identifier</label>
38+
<label for="client_user_id">Unique ID</label>
2639
<input type="text" class="form-control" id="client_user_id"
2740
name="client_user_id" required>
2841
</div>

0 commit comments

Comments
 (0)