docusign_rest 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/docusign_rest/client.rb +8 -1
- data/lib/docusign_rest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e37e30024252e71a7da04bc3c5a81eead9adb260
|
4
|
+
data.tar.gz: c40e6b84485e8610195d11c523f7aebc4b275bec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33c61ea8b73efde9a801257527743ac53b94ccaaafd0dfb8f007c45559ce2a41c0eff759f1b9bb59e5225217ccc737099f4d40300675c7d9699d2703216078aa
|
7
|
+
data.tar.gz: 9b60c1657d27655ce5fb0fe02f6aa2657ee4f5dedfef0a723ec17d02abb23bb28dca355cd2efc8c62515c7053b86452db8763e73556f3e7a1d192c7eb82e665d
|
data/CHANGELOG.md
CHANGED
data/lib/docusign_rest/client.rb
CHANGED
@@ -1472,13 +1472,20 @@ module DocusignRest
|
|
1472
1472
|
|
1473
1473
|
# Public: Retrieves a list of available templates
|
1474
1474
|
#
|
1475
|
+
# params: Can contain a folder
|
1476
|
+
#
|
1475
1477
|
# Example
|
1476
1478
|
#
|
1477
1479
|
# client.get_templates()
|
1478
1480
|
#
|
1481
|
+
# or
|
1482
|
+
#
|
1483
|
+
# client.get_templates(params: {folder: "somefolder"})
|
1484
|
+
#
|
1479
1485
|
# Returns a list of the available templates.
|
1480
|
-
def get_templates
|
1486
|
+
def get_templates(options={})
|
1481
1487
|
uri = build_uri("/accounts/#{acct_id}/templates")
|
1488
|
+
uri.query = URI.encode_www_form(options[:params]) if options[:params]
|
1482
1489
|
|
1483
1490
|
http = initialize_net_http_ssl(uri)
|
1484
1491
|
request = Net::HTTP::Get.new(uri.request_uri, headers({ 'Content-Type' => 'application/json' }))
|
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.
|
4
|
+
version: 0.3.3
|
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-
|
12
|
+
date: 2017-09-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multipart-post
|
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
212
|
rubyforge_project:
|
213
|
-
rubygems_version: 2.6.
|
213
|
+
rubygems_version: 2.6.13
|
214
214
|
signing_key:
|
215
215
|
specification_version: 4
|
216
216
|
summary: Use this gem to embed signing of documents in a Rails app through the DocuSign
|