hellosign-ruby-sdk 3.5.3 → 3.5.4

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: a7f3cb1c1abd39eaa31cce9e3ac17aef2755e9e0
4
- data.tar.gz: 0b02b55dbbd23121f14e007ff1a43176f686c242
3
+ metadata.gz: 1804c9f642f169ef4a3d44abb6946ef81f484d2c
4
+ data.tar.gz: a1eb0baecdcf75ecc0636634821278854da45720
5
5
  SHA512:
6
- metadata.gz: d80be82243cbdbae5e7584e655bd83aba2cab845532b6f2b03a1300895041222941d424cd8090b3d780210fcfb8498acb3390ca7901563d31b891ae8cc5946f3
7
- data.tar.gz: 2d46c00fc225726638121887a4020eb1d17cf554828f0f3e16e37c6c263c59a9ebd01d850298401cc56f0bac4945219bd5917315bb2fd1b8106a9e96b3bd1695
6
+ metadata.gz: 680e7442f10598103fa16f631fb3f8c7081e2564f765150c3947eeb6f68d2a5e81b4b9ec07590d395eef43603b10b16b773624501640301f0d5ea618367b3566
7
+ data.tar.gz: adf4bff05fa09bdc31db9fd0827a1cf1eeb55a17f95d28f06d23118385f1a42368291a0ff20937fc2e02cb0ea314bea7f904f3e02dce865960cfdf011db7c445
@@ -90,6 +90,7 @@ module HelloSign
90
90
  #
91
91
  def create_unclaimed_draft opts
92
92
  prepare_files opts
93
+ prepare_form_fields opts
93
94
  if opts[:type] == 'request_signature'
94
95
  prepare_signers opts
95
96
  end
@@ -62,6 +62,7 @@ module HelloSign
62
62
  405 => Error::MethodNotAllowed,
63
63
  409 => Error::Conflict,
64
64
  410 => Error::Gone,
65
+ 429 => Error::ExceededRate,
65
66
  500 => Error::InternalServerError,
66
67
  502 => Error::BadGateway,
67
68
  503 => Error::ServiceUnavailable
@@ -63,6 +63,9 @@ module HelloSign
63
63
  # Raised when API endpoint returns the HTTP status code 500.
64
64
  class InternalServerError < Error; end
65
65
 
66
+ # Raised when API endpoint returns the HTTP status code 429.
67
+ class ExceededRate < Error; end
68
+
66
69
  # Raised when API endpoint returns the HTTP status code 502.
67
70
  class BadGateway < Error; end
68
71
 
@@ -23,5 +23,5 @@
23
23
  #
24
24
 
25
25
  module HelloSign
26
- VERSION = '3.5.3'
26
+ VERSION = '3.5.4'
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.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - HelloSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2018-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler