fintecture 0.6.1 → 0.6.2

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: 8e887488d505992322278fde239b0b54cbd21862463e1298b3f20f4b9df71996
4
- data.tar.gz: 2ce5624fac95164513530b62b08b0cb03f2deedf4603fcb513ece06c9db45c85
3
+ metadata.gz: 382d21d6fcbd51583a2b4f7f6b3e7660475694874d74e9abe45656357a73f785
4
+ data.tar.gz: e77d0419db9e098efa149e741f82eacdf613a4d4f7a4f0582b87edeedddc3e27
5
5
  SHA512:
6
- metadata.gz: 9a2d39f9529e36c02fe0a753536ada67e378ba115785310f2887095717e57aeca033b24dd7a770f9cfa6c5b6d32b4214682f04168ffbbb5c7b9efd5ba0b9a81b
7
- data.tar.gz: ba1a58574b16ab10fb60774580edb7948180d7d2c47ec1081735dc4cec4880d87704eb00f9e8ea46c4f4620efe77df0dc5906f4d7647999ea5678d69f1e858f1
6
+ metadata.gz: b4b8aee29ea4ef485f37435bba44c33b38f4940dbaf78985141e0314e4217e16ca2d8968c4b66027fb3571cc6e00c1f571fac889b759733397b41f3b4b9e87f3
7
+ data.tar.gz: 1d053965a350afb4bd1959a9f1c7d8eeda267f3aba5190c591baaa23efeb32ed140eb4c2376c09a9e02560d76b8d46bf245e1302931b93f24584a90bf2a5bf2a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fintecture (0.6.1)
4
+ fintecture (0.6.2)
5
5
  faraday
6
6
 
7
7
  GEM
@@ -24,10 +24,13 @@ module Fintecture
24
24
  url = _endpoint
25
25
 
26
26
  # Build uri params
27
- params = {}
28
- params['with_virtualbeneficiary'] = 'true' if with_virtualbeneficiary
29
-
30
- query_string = "?#{params.map { |key, value| "#{key}=#{value}" }.join('&')}"
27
+ query_string = ''
28
+ if with_virtualbeneficiary
29
+ params = {}
30
+ params['with_virtualbeneficiary'] = 'true' if with_virtualbeneficiary
31
+
32
+ query_string = "?#{params.map { |key, value| "#{key}=#{value}" }.join('&')}"
33
+ end
31
34
 
32
35
  Fintecture::Faraday::Authentication::Connection.get(
33
36
  url: "#{url}/#{session_id}" + query_string,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fintecture
4
- VERSION = '0.6.1'
4
+ VERSION = '0.6.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fintecture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fintecture
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-23 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler