zuora_connect 2.0.3b → 2.0.3c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zuora_connect/controllers/helpers.rb +3 -3
- data/lib/zuora_connect/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: 5201f2acf0dafd1e7947f897a0c1feee8fc7a15b5b6ea580b2ec476c43a2473e
|
4
|
+
data.tar.gz: e8b44269fcaf3c2117f795e40a6efeecbdb53ae68cd1f2d815c88de7ce16f497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b47d060bc70da4ddc9f5e6623e3d1d424951af6bf822606d9685b7df87c5a5a17567539025650d1c5f17c96bb1ea307cf829c62235fd0ab5261f82daed5ac887
|
7
|
+
data.tar.gz: 88c8d9cab8b79abdaf7fecd4a479ad377c6677839d08eacd093bb83779cf0c7f74dba46ce1b519033d6d3401a4c787e33af7c5fe761e274919142581587ccc8f
|
@@ -43,15 +43,15 @@ module ZuoraConnect
|
|
43
43
|
@appinstance = appinstances.first
|
44
44
|
end
|
45
45
|
|
46
|
-
|
46
|
+
elsif request.headers.fetch("Authorization", "").include?("Basic ")
|
47
47
|
authenticate_or_request_with_http_basic do |username, password|
|
48
48
|
@appinstance = ZuoraConnect::AppInstance.where(:token => password).first
|
49
49
|
@appinstance ||= ZuoraConnect::AppInstance.where(:api_token => password).first
|
50
50
|
ZuoraConnect.logger.debug("[#{@appinstance.id}] API REQUEST - Basic Auth") if @appinstance.present?
|
51
51
|
check_instance
|
52
52
|
end
|
53
|
-
|
54
|
-
|
53
|
+
else
|
54
|
+
check_instance
|
55
55
|
end
|
56
56
|
|
57
57
|
if @appinstance.present?
|