katinguele 1.0.1 → 1.0.2
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 +6 -1
- 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: f9adb7c923a26a85b0b578eea0ee7969b3bb186b001baf8a9a8398c8201cd9a3
|
4
|
+
data.tar.gz: 8e8b90639d264c4aa0b5002f6d3ce111bc1bf8f4842b1226b11c1df94dc81967
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03302f1e92e81e04fb406e0e2dcbe2ee004cd86f64d7431227ed39bc9f85115a7d0a0f32667a8f45ce7792fea1fea56d14c3fc1c7d06c0d7955195d87e86bed
|
7
|
+
data.tar.gz: 87f4e35e05905dbcbe78ff2d8b8024f7db0f3e4d4b9ba86644fc9075421e2bd0ddc66d19be46797053c4a712bb4dabe7e33da1316a149c38f0537b02599f2252
|
@@ -7,6 +7,7 @@ module Katinguele
|
|
7
7
|
module Builder
|
8
8
|
def self.extended(base)
|
9
9
|
base.send(:build_katinguele_options)
|
10
|
+
base.send(:build_katinguele_request_attributes)
|
10
11
|
base.katinguele_options
|
11
12
|
end
|
12
13
|
|
@@ -40,7 +41,11 @@ module Katinguele
|
|
40
41
|
.then { |service| handle_unknown_service!(service) }
|
41
42
|
.then { |service| create_request(service) }
|
42
43
|
.then { |request| katinguele_options[:request] = request }
|
43
|
-
|
44
|
+
build_katinguele_request_attributes
|
45
|
+
end
|
46
|
+
|
47
|
+
def build_katinguele_request_attributes
|
48
|
+
define_singleton_method(:katinguele_request_attributes) { katinguele_options&.[](:request)&.attributes }
|
44
49
|
end
|
45
50
|
|
46
51
|
def handle_unknown_service!(service)
|
data/lib/katinguele/version.rb
CHANGED