Skip to content

Commit e2f4b4c

Browse files
committed
fixing various typos
1 parent dabe7c5 commit e2f4b4c

10 files changed

Lines changed: 21 additions & 21 deletions

File tree

app/click/examples/eg001_create_clickwrap/controller.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ def worker(args):
4848
document_display="document"
4949
)
5050

51-
# read file from a local directory
51+
# Read file from a local directory
5252
# The reads could raise an exception if the file is not available!
5353
with open(path.join(demo_docs_path, DS_CONFIG["doc_terms_pdf"]),
5454
"rb") as file:
5555
doc_docx_bytes = file.read()
5656
doc_b64 = base64.b64encode(doc_docx_bytes).decode("ascii")
5757

5858
# Step 3. Create a document model.
59-
document = Document( # create the DocuSign document object
59+
document = Document( # Create the DocuSign document object
6060
document_base64=doc_b64,
61-
document_name="Terms of Service", # can be different from actual file name
62-
file_extension="pdf", # many different document types are accepted
61+
document_name="Terms of Service", # Can be different from actual file name
62+
file_extension="pdf", # Many different document types are accepted
6363
order=0
6464
)
6565

app/click/examples/eg001_create_clickwrap/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from app.ds_config import DS_CONFIG
1212
from app.error_handlers import process_error
1313

14-
eg = "eg001" # reference (and url) for this example
14+
eg = "eg001" # Reference (and URL) for this example
1515
eg001 = Blueprint("eg001", __name__)
1616

1717

@@ -37,7 +37,7 @@ def create_clickwrap():
3737
except ApiException as err:
3838
return process_error(err)
3939

40-
# Save for use by other examples which need an clickwrap params.
40+
# Save for use by other examples which need a clickwrap parameter.
4141
session["clickwrap_id"] = clickwrap_id
4242
session["clickwrap_name"] = clickwrap_name
4343
session["clickwrap_is_active"] = False

app/click/examples/eg002_activate_clickwrap/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from app.ds_config import DS_CONFIG
1212
from app.error_handlers import process_error
1313

14-
eg = "eg002" # reference (and url) for this example
14+
eg = "eg002" # Reference (and URL) for this example
1515
eg002 = Blueprint("eg002", __name__)
1616

1717

app/click/examples/eg003_test_clickwrap/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from app.docusign import authenticate
99
from app.ds_config import DS_CONFIG
1010

11-
eg = "eg003" # reference (and url) for this example
11+
eg = "eg003" # Reference (and URL) for this example
1212
eg003 = Blueprint("eg003", __name__)
1313

1414

app/click/examples/eg004_embed_clickwrap/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Example 004: Embeding a clickwrap"""
1+
"""Example 004: Embedding a clickwrap"""
22

33
from os import path
44

@@ -8,7 +8,7 @@
88
from app.docusign import authenticate
99
from app.ds_config import DS_CONFIG
1010

11-
eg = "eg004" # reference (and url) for this example
11+
eg = "eg004" # Reference (and URL) for this example
1212
eg004 = Blueprint("eg004", __name__)
1313

1414

@@ -26,7 +26,7 @@ def embed_clickwrap():
2626
# 2. Render template
2727
return render_template(
2828
"eg004_embed_clickwrap.html",
29-
title="Embeding a clickwrap",
29+
title="Embedding a clickwrap",
3030
account_id=args.get('account_id'),
3131
client_user_id=DS_CONFIG.get('signer_email'),
3232
clickwrap_id=args.get('clickwrap_id'),

app/click/examples/eg005_create_new_clickwrap_version/controller.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ def worker(args):
4949
send_to_email=False
5050
)
5151

52-
# read file from a local directory
52+
# Read file from a local directory
5353
# The reads could raise an exception if the file is not available!
5454
with open(path.join(demo_docs_path, DS_CONFIG["doc_terms_pdf"]),
5555
"rb") as file:
5656
doc_docx_bytes = file.read()
5757
doc_b64 = base64.b64encode(doc_docx_bytes).decode("ascii")
5858

5959
# Step 3. Create a document model.
60-
document = Document( # create the DocuSign document object
60+
document = Document( # Create the DocuSign document object
6161
document_base64=doc_b64,
62-
document_name="Terms of Service", # can be different from actual file name
63-
file_extension="pdf", # many different document types are accepted
62+
document_name="Terms of Service", # Can be different from actual file name
63+
file_extension="pdf", # Many different document types are accepted
6464
order=0
6565
)
6666

app/click/examples/eg005_create_new_clickwrap_version/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from app.ds_config import DS_CONFIG
1212
from app.error_handlers import process_error
1313

14-
eg = "eg005" # reference (and url) for this example
14+
eg = "eg005" # Reference (and URL) for this example
1515
eg005 = Blueprint("eg005", __name__)
1616

1717

app/click/examples/eg006_list_clickwraps/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from app.ds_config import DS_CONFIG
1212
from app.error_handlers import process_error
1313

14-
eg = "eg006" # reference (and url) for this example
14+
eg = "eg006" # Reference (and URL) for this example
1515
eg006 = Blueprint("eg006", __name__)
1616

1717

@@ -45,7 +45,7 @@ def clickwrap_list():
4545
@eg006.route("/eg006", methods=["GET"])
4646
@authenticate(eg=eg)
4747
def get_view():
48-
"""responds with the form for the example"""
48+
"""Responds with the form for the example"""
4949
return render_template(
5050
"eg006_list_clickwraps.html",
5151
title="Getting a list of clickwraps",

app/click/examples/eg007_clickwrap_responses/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from app.ds_config import DS_CONFIG
1212
from app.error_handlers import process_error
1313

14-
eg = "eg007" # reference (and url) for this example
14+
eg = "eg007" # Reference (and URL) for this example
1515
eg007 = Blueprint("eg007", __name__)
1616

1717

@@ -45,7 +45,7 @@ def clickwrap_responses():
4545
@eg007.route("/eg007", methods=["GET"])
4646
@authenticate(eg=eg)
4747
def get_view():
48-
"""responds with the form for the example"""
48+
"""Responds with the form for the example"""
4949
return render_template(
5050
"eg007_clickwrap_responses.html",
5151
title="Getting clickwrap responses",

app/click/templates/eg004_embed_clickwrap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
2-
<h4>4. Enbeding a clickwrap</h4>
2+
<h4>4. Embedding a clickwrap</h4>
33
<p>This example demonstrates how to use DocuSign Click to embed an
44
existing clickwrap in your website.
55
</p>

0 commit comments

Comments
 (0)