eps-rapid 1.1.2 → 1.1.3

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: 9e74a7d9580ae563ef8d367ce748691c80fdde1ec01e7849466d8fdc2d7fcb3e
4
- data.tar.gz: 4aa354de65648601c5eca059b1429d2ef8ced7e3299ba8b006f1eda1a63f0610
3
+ metadata.gz: 5976f85c0637aa878ffb789e799969ed55ecbad0f8980ecc97d8384c1d6e1995
4
+ data.tar.gz: ab27a49281db85e7ad70b54a393ed725635a0164dbab37955d518c6a92062320
5
5
  SHA512:
6
- metadata.gz: 86d9efda010d3c6cd963b50cef0e7bd5ff50e9361e78f028a5a19885e64aee977bf5b5b2494a87274d861e979f909fe912ce838ca6aa509e6bf5cb7ee49488b5
7
- data.tar.gz: bde4281965bd918dd31ca578edd4a3f017cc2cb3c3895365589df8a6d6435356499e0b679030e3ff91dda0908af2f7ff8a656c00e7d521c637f1fd5032dc3340
6
+ metadata.gz: dd64d892ec1f1402d2bdf5e0cada0afff49eab3ba76787a648af111a2fffe51be6a9c36c5897a6f55339f76a1d404aa376716e2aa2338df047225718593c4b10
7
+ data.tar.gz: c479486687957c8e5b1e28ab6f9d9efe0c9c198032965d2952b42cc221695062c6aad3d80831b3589526a59357a402496d63f2a4ced7a997452ccf6e05635b54
data/CHANGELOG.MD CHANGED
@@ -28,3 +28,6 @@
28
28
  ### Version 1.1.1
29
29
  # Patched
30
30
  - support for multi-value params, i.e. `property_id: [1234, 2345]` is translated to `property_id=1234&property_id=2345`
31
+ ### Version 1.1.3
32
+ # Patched
33
+ - support 202 response
@@ -88,6 +88,8 @@ module EpsRapid
88
88
  case response.code.to_i
89
89
  when HttpStatusCodes::HTTP_OK_CODE, HttpStatusCodes::HTTP_CREATED_CODE
90
90
  JSON.parse(response.body)
91
+ when HttpStatusCodes::HTTP_ACCEPTED_CODE
92
+ { 'status' => 202 }
91
93
  when HttpStatusCodes::HTTP_NO_CONTENT_CODE
92
94
  { 'status' => 204 }
93
95
  else
@@ -4,6 +4,7 @@ module EpsRapid
4
4
  module HttpStatusCodes
5
5
  HTTP_OK_CODE = 200
6
6
  HTTP_CREATED_CODE = 201
7
+ HTTP_ACCEPTED_CODE = 202
7
8
  HTTP_NO_CONTENT_CODE = 204
8
9
  HTTP_BAD_REQUEST_CODE = 400
9
10
  HTTP_UNAUTHORIZED_CODE = 401
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EpsRapid
4
- VERSION = '1.1.2'
4
+ VERSION = '1.1.3'
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.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Leonenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2021-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec