hellosign-ruby-sdk 3.0.6 → 3.0.7

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: 870ba697ee13ac031edda5542c84070498dce7e1
4
- data.tar.gz: d1693c54bf87d2a72c800092daaac1a79c96a3af
3
+ metadata.gz: ecfed3e4a83b10a65f1bca1c8346044a328d77ce
4
+ data.tar.gz: 0ae39d6000ac584d524088f8915bd4eae93da2ba
5
5
  SHA512:
6
- metadata.gz: a5d1b5bf0942e4909b53a9e8681e4a4dfb7cfb0383565466f31c431637d3222798c1e03db2ff79e1879f9d2ad60ce6f72ee44f36850ff6afa91bc0b3c3f9861e
7
- data.tar.gz: b09128704447bc8ef2847df35ff271df8ab43c18571ec85022b0b860f09c51df91d68d28dc9a0a2edbb6324c9e8229d5ddc9a783aa0816e8b1b0ff4a8b86d2cb
6
+ metadata.gz: bd08801fbdaac60afccf23bf1258f435d67260ab519e3bf388420e5c1aa780ea2e1ca4a68ee32a1d2e841a737e5e61ee8290bfe9446adc84e51311df86de2257
7
+ data.tar.gz: 673d05df84d356422d3162465e335084d41ecdab41161b636ca0da4732ecbcd0d9bebe2d09174c6c5671d90620cad8a45449dbf28df2728a2c5490418902f462
@@ -30,6 +30,7 @@ module HelloSign
30
30
  ERRORS = {
31
31
  400 => Error::BadRequest,
32
32
  401 => Error::Unauthorized,
33
+ 402 => Error::PaidApiPlanRequired,
33
34
  403 => Error::Forbidden,
34
35
  404 => Error::NotFound,
35
36
  405 => Error::MethodNotAllowed,
@@ -18,6 +18,9 @@ module HelloSign
18
18
  # Raised when API endpoint returns the HTTP status code 401.
19
19
  class Unauthorized < Error; end
20
20
 
21
+ # Raised when API endpoint returns the HTTP status code 402.
22
+ class PaidApiPlanRequired < Error; end
23
+
21
24
  # Raised when API endpoint returns the HTTP status code 403.
22
25
  class Forbidden < Error; end
23
26
 
@@ -1,3 +1,3 @@
1
1
  module HelloSign
2
- VERSION = '3.0.6'
2
+ VERSION = '3.0.7'
3
3
  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.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - HelloSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-09 00:00:00.000000000 Z
11
+ date: 2014-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler