docusign_rest 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/docusign_rest/client.rb +13 -0
- data/lib/docusign_rest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f16e50ec15163d9dcfbee778019a50cd6308cfa7
|
4
|
+
data.tar.gz: cef8f32061d280fc718b0dc93affe26e02bab88f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ae87ea7870076bc09c4c9191244e99f7ff985e49f3e68ce5fcd812e02dea810920d2d8621164ec56a1245ad06b819ab810488e03d5531d3b7902d4a1357eae8
|
7
|
+
data.tar.gz: 81ff6f470519cf100441a4418ef66edfa528aa1282e540598628fe80e78ed8e7dba45546e6f82ef131071b3ab824d55d29700f26a0a270dc083297c51a4dbb03
|
data/CHANGELOG.md
CHANGED
data/lib/docusign_rest/client.rb
CHANGED
@@ -739,6 +739,9 @@ module DocusignRest
|
|
739
739
|
# email[subject] - (Optional) short subject line for the email
|
740
740
|
# email[body] - (Optional) custom text that will be injected into the
|
741
741
|
# DocuSign generated email
|
742
|
+
# email_settings[bcc_emails] - (Optional) array of emails to BCC.
|
743
|
+
# email_settings[reply_to_email] - (Optional) override the default reply to email for the account.
|
744
|
+
# email_settings[reply_to_name] - (Optional) override the default reply to name for the account.
|
742
745
|
# signers - A hash of users who should receive the document and need
|
743
746
|
# to sign it. More info about the options available for
|
744
747
|
# this method are documented above it's method definition.
|
@@ -772,6 +775,7 @@ module DocusignRest
|
|
772
775
|
post_hash = {
|
773
776
|
emailBlurb: "#{options[:email][:body] if options[:email]}",
|
774
777
|
emailSubject: "#{options[:email][:subject] if options[:email]}",
|
778
|
+
emailSettings: get_email_settings(options[:email_settings]),
|
775
779
|
documents: get_documents(ios),
|
776
780
|
recipients: {
|
777
781
|
signers: get_signers(options[:signers]),
|
@@ -2067,5 +2071,14 @@ module DocusignRest
|
|
2067
2071
|
receiveInResponse: true,
|
2068
2072
|
}
|
2069
2073
|
end
|
2074
|
+
|
2075
|
+
def get_email_settings(input)
|
2076
|
+
return {} unless input
|
2077
|
+
{
|
2078
|
+
bccEmailAddresses: input[:bcc_email_addresses],
|
2079
|
+
replyEmailAddressOverride: input[:reply_to_email],
|
2080
|
+
replyEmailNameOverride: input[:reply_to_name]
|
2081
|
+
}
|
2082
|
+
end
|
2070
2083
|
end
|
2071
2084
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docusign_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Kinney
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multipart-post
|