hellosign-ruby-sdk 3.7.1 → 3.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0cc3e4f7c32e8b3350b2859e11d67afe4015934
4
- data.tar.gz: 61b340752b75b9fca5171b5fc9f7178c591e0f61
3
+ metadata.gz: 582d4660143d389b52cbc53ab0c1f884826cd4e1
4
+ data.tar.gz: 2649d5912c0ef8c37c863d9ed73413b65d8369b5
5
5
  SHA512:
6
- metadata.gz: c90e577bee0dc8ecbd2f9875faf53b851ff8eeca7ff126bd3480cdb9b3c082144c1a0c93c81bbf0152a51603540988fd4e12aca0f20ad7e8550d1b75a5de86bc
7
- data.tar.gz: eca005244bfe6735a00181d89d855fa6dba5fc7877bd9c1d4c5149667c3ed293dddc0590e44e66495406341a667d0c610c6df10cfcc4dee2142608b6a5d4ca60
6
+ metadata.gz: 0bec01533c904e3ef6726897df95957796a3a8895ce46c76e19cdf65f1a3e44ebab7578c673affce919a486c643e58c85d4cce8b7fd00aeb808d48120a4bbcd0
7
+ data.tar.gz: 1ce37a1338aa644835f79314d1313492a773daddf8bbc0e9783571f9fe8cf98a15240c02f3e4bc937306ba3ba671447844e28eed9e17bc0f66457a9c6f7b666b
@@ -313,7 +313,7 @@ module HelloSign
313
313
  separator = opts[:file_type].nil? ? '?' : '&'
314
314
  path = path + "#{separator}get_url=#{opts[:get_url]}"
315
315
  end
316
- get(path)
316
+ get(path)[:body]
317
317
  end
318
318
 
319
319
  #
@@ -30,7 +30,7 @@ module HelloSign
30
30
  # @author [hellosign]
31
31
  #
32
32
  class ResourceArray < Array
33
- attr_reader :page, :num_pages, :num_results, :page_size, :warnings, :headers, :list_info
33
+ attr_reader :page, :num_pages, :num_results, :page_size, :warnings, :headers, :list_info, :data
34
34
  #
35
35
  # create a new ResourceArray from a hash
36
36
  #
@@ -41,6 +41,7 @@ module HelloSign
41
41
  # @return [type] [description]
42
42
  def initialize(hash, key, resource_class)
43
43
  @headers = hash[:headers]
44
+ @data = hash[:body]
44
45
  @list_info = hash[:body]['list_info']
45
46
  @page = @list_info['page']
46
47
  @num_pages = @list_info['num_pages']
@@ -23,5 +23,5 @@
23
23
  #
24
24
 
25
25
  module HelloSign
26
- VERSION = '3.7.1'
26
+ VERSION = '3.7.2'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hellosign-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - HelloSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-25 00:00:00.000000000 Z
11
+ date: 2018-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler