eps-rapid 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.MD +3 -0
- data/lib/eps-rapid/client.rb +2 -0
- data/lib/eps-rapid/content.rb +4 -4
- data/lib/eps-rapid/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: 7626d523b5a56e49f1819581a045eca494ac8bd637158d12a63b6d1c0018ade2
|
4
|
+
data.tar.gz: a91f3c9b295ba64592872baac0b400feeb8a9a927c2ce89a99456c024aba3786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 837516289fcfc258afb8ddc2ff4e71a2d0b8233407ca9842371a0f59270b64297dc2655d41395a58b04322f6c44d11fc26d5b3d35c92a2b6800ceea607f41fe5
|
7
|
+
data.tar.gz: 58dcb8f0955d53f5ef117b00f2feeb0a9cbfcf62d5f00345af59686632fd2a2e58441bc3e49567d8e0ad7308cdd6a9741edbc0be57bd679ca1bfc6b178f16165
|
data/CHANGELOG.MD
CHANGED
data/lib/eps-rapid/client.rb
CHANGED
@@ -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
|
data/lib/eps-rapid/content.rb
CHANGED
@@ -10,12 +10,12 @@ module EpsRapid
|
|
10
10
|
EpsRapid::Client.get("properties/#{property_id}/guest-reviews", {})
|
11
11
|
end
|
12
12
|
|
13
|
-
def self.catalog_file
|
14
|
-
EpsRapid::Client.get('files/properties/catalog',
|
13
|
+
def self.catalog_file(**params)
|
14
|
+
EpsRapid::Client.get('files/properties/catalog', params)
|
15
15
|
end
|
16
16
|
|
17
|
-
def self.content_file
|
18
|
-
EpsRapid::Client.get('files/properties/content',
|
17
|
+
def self.content_file(**params)
|
18
|
+
EpsRapid::Client.get('files/properties/content', params)
|
19
19
|
end
|
20
20
|
|
21
21
|
def self.chains
|
data/lib/eps-rapid/version.rb
CHANGED
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.
|
4
|
+
version: 1.3.0
|
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-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|