bunq-client 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bunq/errors.rb +1 -0
- data/lib/bunq/resource.rb +2 -0
- data/lib/bunq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 223d75a61a8e2175a424b034343ed91e7e59c0c372f1f5a2d40d6554e8549e67
|
4
|
+
data.tar.gz: f049a79d1fe5bf45573c5f86bfad370e7c29105262084fc154da49067d007b72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9af617dd19d60bdcd4882d735f82bc891a3d51ffbea1070bc050c276bcd9a0cac3b6b0c3ead27662352b3381ff14c259a1cfc41daed7b71b55640f27221c24a1
|
7
|
+
data.tar.gz: caecec27519fe2c211345d26f76f1fec68a33198b392143b845b3281a81743fdfcdbf1de081434c45d7d59c0c497fd3c4c07e6f61cdedd4b70147f76c6dd46b6
|
data/lib/bunq/errors.rb
CHANGED
data/lib/bunq/resource.rb
CHANGED
@@ -118,6 +118,8 @@ module Bunq
|
|
118
118
|
fail TooManyRequestsResponse.new(code: response.code, headers: response.raw_headers, body: response.body)
|
119
119
|
elsif response.code == 401
|
120
120
|
fail UnauthorisedResponse.new(code: response.code, headers: response.raw_headers, body: response.body)
|
121
|
+
elsif response.code == 404
|
122
|
+
fail ResourceNotFound.new(code: response.code, headers: response.raw_headers, body: response.body)
|
121
123
|
else
|
122
124
|
fail UnexpectedResponse.new(code: response.code, headers: response.raw_headers, body: response.body)
|
123
125
|
end
|
data/lib/bunq/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bunq-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lars Vonk
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-06-
|
14
|
+
date: 2019-06-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rest-client
|