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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a7b498b556a8424590d12b89c02c985ac20036b58fcc0d8ddc47e7fd1f92695
4
- data.tar.gz: e948c99ede332cb2b4a87869a3b0206ff660b3038d3d7c1d3d250dadf1c91f08
3
+ metadata.gz: 1f41df12c6dfe4dc79fa33f5cf5b356c020e4423155bbd5274c0dc1308450a86
4
+ data.tar.gz: 35ac0954fb8b2506d892033510620f49a553f0dcbfbe3fa2d5f9d5b1620d172b
5
5
  SHA512:
6
- metadata.gz: 063c0c04b98717d45b2dd7ac324942f215458638a99da5fc5e17b85869da8c51cc6ffc642635d8b8b4399f81f0908cf6d2367a5b53e91d69f7153875c850e872
7
- data.tar.gz: '0686ee7f583eaba9f5f5cb4a848cf13faabaeb113a585b0edb542e584606d0caad750d8ba35b1b6ac8ee170be01f58883daa46d3cf0592bb674fae1c16973df7'
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)
@@ -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!
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Katinguele
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katinguele
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - linqueta