Skip to content

Commit 40d4390

Browse files
Example fixes; enum fixes
1 parent c54f577 commit 40d4390

16 files changed

+47
-11
lines changed

examples/ApiAppUpdate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
$data = new Dropbox\Sign\Model\ApiAppUpdateRequest();
2222
$data->setName("New Name")
23-
->setCallbackUrl("http://example.com/dropboxsign")
23+
->setCallbackUrl("https://example.com/dropboxsign")
2424
->setWhiteLabelingOptions($whiteLabelingOptions)
2525
->setCustomLogoFile($customLogoFile);
2626

examples/ApiAppUpdate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
data = models.ApiAppUpdateRequest(
2323
name="New Name",
24-
callback_url="http://example.com/dropboxsign",
24+
callback_url="https://example.com/dropboxsign",
2525
white_labeling_options=white_labeling_options,
2626
custom_logo_file=custom_logo_file,
2727
)

examples/ApiAppUpdate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
data = Dropbox::Sign::ApiAppUpdateRequest.new
2020
data.name = "New Name"
21-
data.callback_url = "http://example.com/dropboxsign"
21+
data.callback_url = "https://example.com/dropboxsign"
2222
data.white_labeling_options = white_labeling_options
2323
data.custom_logo_file = custom_logo_file
2424

examples/ApiAppUpdate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
curl -X PUT 'https://api.hellosign.com/v3/api_app/{client_id}' \
22
-u 'YOUR_API_KEY:' \
33
-F 'name=New Name' \
4-
-F 'callback_url=http://example.com/dropboxsign' \
4+
-F 'callback_url=https://example.com/dropboxsign' \
55
-F 'white_labeling_options[primary_button_color]=#00b3e6' \
66
-F 'white_labeling_options[primary_button_text_color]=#ffffff'

examples/ApiAppUpdate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const whiteLabelingOptions: DropboxSign.SubWhiteLabelingOptions = {
1616

1717
const data: DropboxSign.ApiAppUpdateRequest = {
1818
name: "New Name",
19-
callbackUrl: "http://example.com/dropboxsign",
19+
callbackUrl: "https://example.com/dropboxsign",
2020
customLogoFile: fs.createReadStream("CustomLogoFile.png"),
2121
whiteLabelingOptions,
2222
};

examples/json/ApiAppCreateResponseExample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"is_approved": false,
88
"name": "My Production App",
99
"oauth": {
10-
"callback_url": "http://example.com/oauth",
10+
"callback_url": "https://example.com/oauth",
1111
"scopes": [
1212
"basic_account_info",
1313
"request_signature"

examples/json/ApiAppGetResponseExample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"is_approved": true,
88
"name": "My Production App",
99
"oauth": {
10-
"callback_url": "http://example.com/oauth",
10+
"callback_url": "https://example.com/oauth",
1111
"scopes": [
1212
"basic_account_info",
1313
"request_signature"

examples/json/ApiAppListResponseExample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"is_approved": true,
99
"name": "My Production App",
1010
"oauth": {
11-
"callback_url": "http://example.com/oauth",
11+
"callback_url": "https://example.com/oauth",
1212
"scopes": [
1313
"basic_account_info",
1414
"request_signature"

examples/json/ApiAppUpdateRequestDefaultExample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "New Name",
3-
"callback_url": "http://example.com/dropboxsign",
3+
"callback_url": "https://example.com/dropboxsign",
44
"white_labeling_options": {
55
"primary_button_color": "#00b3e6",
66
"primary_button_text_color": "#ffffff"

examples/json/ApiAppUpdateResponseExample.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"api_app": {
3-
"callback_url": "http://example.com/dropboxsign",
3+
"callback_url": "https://example.com/dropboxsign",
44
"client_id": "0dd3b823a682527788c4e40cb7b6f7e9",
55
"created_at": 1436232339,
66
"domains": ["example.com"],
77
"is_approved": false,
88
"name": "New Name",
99
"oauth": {
10-
"callback_url": "http://example.com/oauth",
10+
"callback_url": "https://example.com/oauth",
1111
"scopes": [
1212
"basic_account_info",
1313
"request_signature"

0 commit comments

Comments
 (0)