katinguele 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/katinguele/client/builder.rb +1 -0
- data/lib/katinguele/request.rb +4 -0
- data/lib/katinguele/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f41df12c6dfe4dc79fa33f5cf5b356c020e4423155bbd5274c0dc1308450a86
|
4
|
+
data.tar.gz: 35ac0954fb8b2506d892033510620f49a553f0dcbfbe3fa2d5f9d5b1620d172b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6e5702cceb029adb73e0ad66b79f1ed57b8192f896bfc8ecebff6af67a26514f99c5a3c9d7e619d743d30bbf348d555a326bd41e03d4bd940d8585e24a4484f
|
7
|
+
data.tar.gz: 81ce7bab406d570704ceefdf71c26736c9a32094d5c60333bc057c1ad6b95fe8a1ffdbdb08dc87f7fee2cf8fec388636c2dac35793234d6fe30d00fd3e25c0e7
|
@@ -40,6 +40,7 @@ module Katinguele
|
|
40
40
|
.then { |service| handle_unknown_service!(service) }
|
41
41
|
.then { |service| create_request(service) }
|
42
42
|
.then { |request| katinguele_options[:request] = request }
|
43
|
+
.then { |request| katinguele_options[:request_all_options] = request&.attributes || {} }
|
43
44
|
end
|
44
45
|
|
45
46
|
def handle_unknown_service!(service)
|
data/lib/katinguele/request.rb
CHANGED
@@ -27,6 +27,10 @@ module Katinguele
|
|
27
27
|
Katinguele::Logger.request(self, @method.to_s.upcase)
|
28
28
|
end
|
29
29
|
|
30
|
+
def attributes
|
31
|
+
ACCESSORS.each_with_object({}) { |accessor, obj| obj[accessor] = send(accessor) }
|
32
|
+
end
|
33
|
+
|
30
34
|
def setup!(options = {})
|
31
35
|
accessors!(options || {})
|
32
36
|
validate!
|
data/lib/katinguele/version.rb
CHANGED