eps-rapid 1.2.0 → 1.2.1

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: 0635d7fc795915ac4229d1968713e1f78ab615ec52bd59cb9a3fce51b421ce20
4
- data.tar.gz: fb3aab1e962108feea5d465907fd680d5c312589b1a73b143d1e61be752d4129
3
+ metadata.gz: 3b7954810099c42c3f5afa0cbf1149e03cffa77fa461663ad1cc31e1a9c23fee
4
+ data.tar.gz: 226f6e7d9cd8f080da039b04b13e56fe7ee5cb952aef350514c4c60a25597406
5
5
  SHA512:
6
- metadata.gz: 2f7056cc0acbedbe619bdd81c4c0120d2866c6f9940b098417eeb40238a01505d0d9e34978d6e920db583dbbb5ee7cac6075e1b49ccb886f1eeefe7442542191
7
- data.tar.gz: 9daa91af2bd45fdf330aa182a12da06c981114f5420b8ab3dcd603a16d6c3d42d1aac63b931389c39b2d1d71a17887f70e901cf0bdf3e35742e4f4cfe7294110
6
+ metadata.gz: ca1ea0705b9dd8f8ff46135096102035940ce75c8df5fc42a6f3c99481276042117909667a0b36b52b957190713997b950e8da83aeb9558e9f1343a9ab71916e
7
+ data.tar.gz: a75e69ad91e8d1fc1a4c0a0d714ef200f482ffe66b80af000b20e1430ac8d0feed0ae114a9a958964567487582be6464f37d23302a4ecf599c150af85d53437a
@@ -97,6 +97,8 @@ module EpsRapid
97
97
  when HttpStatusCodes::HTTP_NO_CONTENT_CODE
98
98
  { 'status' => 204 }
99
99
  else
100
+ logger.warn("Request with error: #{uri} headers=(#{req.to_hash}): body=(#{req.body})")
101
+ logger.warn("Response with error: #{response.code} headers=(#{response.to_hash}): body=(#{response.body})")
100
102
  raise error_class(response.code), "Code: #{response.code}, Error: #{map_error_messages(response.body)}"
101
103
  end
102
104
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EpsRapid
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eps-rapid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Leonenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-19 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec