frontapp 0.0.8 → 0.0.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
  SHA1:
3
- metadata.gz: af0522968d2e8b1f97cb59f34f8a86022039a7e1
4
- data.tar.gz: 013b5659e5bd3809db836ebac2c4ffd959cb2357
3
+ metadata.gz: c84f037b7cc7663aee1d15e20998de2ba93ac6b9
4
+ data.tar.gz: '0587e127ce575fd3e15b710e89238dc9064baab4'
5
5
  SHA512:
6
- metadata.gz: 481574973b11099d435743dc39422baf5f1dee01909a36c00e4ff151e2b36b49deb9656f8d574d666c2b1645e70e98f70a2075a360d52506d5c86a0fa3586095
7
- data.tar.gz: ce86316658c5e5b4909641c5e0b48030edf75d26548d5e4ac68348a618c6f49c7fed54904376a22e60d6ee6f0040ea1e18ddee881d37c04c702ca2e0e2816b5b
6
+ metadata.gz: d93206614d9d0524e19e2322dd77457a39ed0682aad6da9f6e1ea12c4e9b860d2a56a916ee8fb731f72120e3f80af99ae569f845e8e59f3a4699bc88aa7fa50c
7
+ data.tar.gz: b5878450b98cd27e239f24748ed8efab4785bc9d57850cf7d36a35be792eeebdf93eb3c76087856faf41f7b34df91cc78ee181a2df79bd5b6f9e857a979aec5c
@@ -6,6 +6,7 @@ module Frontapp
6
6
  when 401 then UnauthorizedError
7
7
  when 404 then NotFoundError
8
8
  when 409 then ConflictError
9
+ when 429 then TooManyRequestsError
9
10
  else self
10
11
  end
11
12
  error_class.new(response)
@@ -21,4 +22,5 @@ module Frontapp
21
22
  class NotFoundError < Error; end
22
23
  class ConflictError < Error; end
23
24
  class UnauthorizedError < Error; end
25
+ class TooManyRequestsError < Error; end
24
26
  end
@@ -1,3 +1,3 @@
1
1
  module Frontapp
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frontapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niels van der Zanden