docusign_rest 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67460cc1df129f721affa3f822e3019a0b648be3
4
- data.tar.gz: 461927419841a056220b26a8ee9ff64c1ef20d54
3
+ metadata.gz: 0ad67abd3cf8814f9a5f7eea665b58a5f016778a
4
+ data.tar.gz: 5a6b872e865673e973b134488ed4afb54010472d
5
5
  SHA512:
6
- metadata.gz: 6e7c0c96f3a815fb4048db7f8379e36df690c5dd1884f346a93863efc8f0937fd79aaf5b3fdd6c98ee9ae86f10e5769601262b7b99c455750d1f87475f7d849d
7
- data.tar.gz: 3a3f5bcac8407d7be4b43f217f34d90114b718b06e0935dbd79bb5f171b475bc3fdafdbbe27bcebeefd51fca6407448cf088cbf03d10dee12219548b498ec250
6
+ metadata.gz: 208f52a15a46334b0751201ef5f790251bd87aa402d72391e7704713b2888bc7068f308acda1ff18477fcc4a95f6821d39854fae16db484b0adb1cf5b23d1922
7
+ data.tar.gz: 5e6debc7712fe8b73f9737b4357c5d2b6b4cf79b67d337efa9862e911fcdb1286318d1348473dc54461022a0567c2e531fcf9930ed045e2151de5cd7d6d7907e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.3.1 May 16 2017
4
+
5
+ ### Features:
6
+ * Enable webhooks for DocusignRest::Client#create_envelope_from_composite_template (Tom Copeland)
7
+
3
8
  ## v0.3.0 May 11 2017
4
9
 
5
10
  ### Features:
data/README.md CHANGED
@@ -80,11 +80,11 @@ The docusign\_rest gem makes creating multipart POST (aka file upload) requests
80
80
 
81
81
  #### Situations
82
82
 
83
- ** In the context of a Rails app **
83
+ **In the context of a Rails app**
84
84
 
85
85
  This is how most people are using this gem - they've got a Rails app that's doing things with the Docusign API. In that case, these examples assume you have already set up a docusign account, have run the `docusign_rest:generate_config` rake task, and have the configure block properly setup in an initializer with your username, password, integrator\_key, and account\_id.
86
86
 
87
- ** In the context of this gem as a standalone project **
87
+ **In the context of this gem as a standalone project**
88
88
 
89
89
  Ideally this gem will be independent of Rails. If that's your situation, there won't be a Rails initializer so your code will need to load the API authentication credentials. You will want to do something like:
90
90
 
@@ -916,14 +916,17 @@ module DocusignRest
916
916
  file_params = create_file_params(ios)
917
917
  end
918
918
 
919
- post_body = {
919
+ post_hash = {
920
920
  emailBlurb: "#{options[:email][:body] if options[:email]}",
921
921
  emailSubject: "#{options[:email][:subject] if options[:email]}",
922
922
  status: options[:status],
923
923
  brandId: options[:brand_id],
924
+ eventNotification: get_event_notification(options[:event_notification]),
924
925
  allowReassign: options[:allow_reassign],
925
926
  compositeTemplates: get_composite_template(options[:server_template_ids], options[:signers], options[:files])
926
- }.to_json
927
+ }
928
+
929
+ post_body = post_hash.to_json
927
930
 
928
931
  uri = build_uri("/accounts/#{acct_id}/envelopes")
929
932
 
@@ -1,3 +1,3 @@
1
1
  module DocusignRest
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  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.3.0
4
+ version: 0.3.1
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: 2017-05-11 00:00:00.000000000 Z
12
+ date: 2017-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multipart-post