docusign_dtr 0.3.8 → 0.3.9

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
  SHA256:
3
- metadata.gz: 20d81553d9678f68c2593a27981eba67b7e92ee66a39ad57d21dd16b2d25ccd7
4
- data.tar.gz: 55311cb06a10d3540e3fcefe5fa9f91c9512e0d1bd05dc9a8168b82c02c6554d
3
+ metadata.gz: 5975129645fafeb162aa08f847054a3a099dcb98bb2c1a2484d9cf3e2832005a
4
+ data.tar.gz: a3708462263813f8b20cd88c9f94287762d7c631a02704a04da45fe8b75ee4f8
5
5
  SHA512:
6
- metadata.gz: f48c70ed8d01b8da5320a74521154000a2b956702f4036748f3a979b5a814fd78b09eb5d1b2ad06c8bf85c01da73f8cb77a533651d91aef75bab6b6ea894d60c
7
- data.tar.gz: a32e65dd08445a27d7f981727af93d675f4ee11d5e2e937d277c0e6a8e27b2c0db6958160c43379220a2440ec4afcf02e353c186f102126ce7e150214b1468dd
6
+ metadata.gz: a60f519bad1fae74c39f43e2da123b2d971f6be4fc8006226d275261048005a98fbf08959e847fd922a4c33067ff9bf2e0c74d1b595dd02c1d5fe75e0a9f3ffa
7
+ data.tar.gz: cbde697328e21724a1232a059e8927bb08a5bedfb3292cafa717efa74a01d716a95e6750c26992f2f2783b54cef60a066c07ea18d5b9f55564d7b26db5ea8994
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -8,6 +8,10 @@ module DocusignDtr
8
8
  attribute :given_name
9
9
  attribute :name
10
10
  attribute :sub
11
+
12
+ def guid
13
+ (accounts&.first || {}).fetch('account_id', sub)
14
+ end
11
15
  end
12
16
  end
13
17
  end
@@ -11,10 +11,13 @@ module DocusignDtr
11
11
 
12
12
  def all(options = {})
13
13
  options[:count] ||= MAX_ROOMS
14
+ options[:start_position] ||= 0
14
15
  rooms = []
15
16
  (1..MAX_BATCHES).each do
16
17
  current_batch = batch(options)
17
18
  rooms += current_batch
19
+ options[:start_position] += options[:count]
20
+
18
21
  break if current_batch.size < options[:count]
19
22
  end
20
23
  rooms
@@ -1,3 +1,3 @@
1
1
  module DocusignDtr
2
- VERSION = '0.3.8'.freeze
2
+ VERSION = '0.3.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docusign_dtr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loft47
@@ -34,7 +34,7 @@ cert_chain:
34
34
  yOvdqdXagQS1TU48a0H7/FD4KPhHAknpwcdrwauM6J+qCAROlwuQXeBylhs4rkJA
35
35
  TPT0mp1duWsnjwSWtSfLG8IE0L3oXHV0KzDLQg==
36
36
  -----END CERTIFICATE-----
37
- date: 2020-07-08 00:00:00.000000000 Z
37
+ date: 2020-07-10 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: coveralls
metadata.gz.sig CHANGED
Binary file