bunq-client 0.7.1 → 0.7.2

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
  SHA256:
3
- metadata.gz: 04c107e325b51afce818d5381d4ce6ddcd86c6307f80e187bb6de26fcbc2ccff
4
- data.tar.gz: 55187a4b44972380ff11d8464749fbb06bd40d5b93c726f5dcafe96cd0759ce3
3
+ metadata.gz: be254960c8428aa33d20c3f8a46666d0d5a01b1e6a08749e0026d7aa8ef6c93d
4
+ data.tar.gz: a711a80bff07d74ea85f941aa1bd39b28c0241c26f753e09c9c336ea8f1701ee
5
5
  SHA512:
6
- metadata.gz: c35108c41c6d8ed675dd9e189f1fbbf041d8166a08495af6c9c07462b202120955177b6bfee92eafe576ea0c1caed2f3ce52d00c8729c9eae48429fb640276b3
7
- data.tar.gz: 399691acb52796732f68801e2922536491db58ec1f42035795ad8f14c2c3814c5406249b78dcbe2994758245995950f3e71e2d16de0bab56853a70e177914d3f
6
+ metadata.gz: 90e12c808f2675e307581c74de203fd31e09967caad14cd9c6636cbaed77b46d318e1408b0bce4863d70952fbf8dd83e45f9b5ad2a024994f4bd8d8384ef554f
7
+ data.tar.gz: 8036d1a337e605d3d396edbba2c0c4518dbc0602e478c09fe41e42d71615aaacfc64fcf7f6ccff202763358ce18be315aeb749fce94486ac38e36893efc84ae2
@@ -118,7 +118,7 @@ module Bunq
118
118
  end
119
119
  elsif (response.code == 409 && Bunq.configuration.sandbox) || response.code == 429
120
120
  fail TooManyRequestsResponse.new(code: response.code, headers: response.raw_headers, body: response.body)
121
- elsif response.code == 401
121
+ elsif [401, 403].include?(response.code)
122
122
  fail UnauthorisedResponse.new(code: response.code, headers: response.raw_headers, body: response.body)
123
123
  elsif response.code == 404
124
124
  fail ResourceNotFound.new(code: response.code, headers: response.raw_headers, body: response.body)
@@ -1,3 +1,3 @@
1
1
  module Bunq
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Vonk