ach_client 4.0.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ach_client/logging/savon_observer.rb +8 -1
- data/lib/ach_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3448884b23a8ca502b1506b354632c449c3f1436aa80398dccc280887abd1f49
|
4
|
+
data.tar.gz: ac997cdf2dc1a57e0c65e603e0f337a1e5c85ade85fdd4cf6915fad7ea31e729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c7c0ca64f40107ab389e5fcb92bdcd841054a32f29b636a71f9b4e3db47ea291899664d4c102afd6ff7bae2e31850a3353e875022232e98c6e838deb30a551
|
7
|
+
data.tar.gz: 9c1f70ab5fa6691e8ec6f998dd5bf38f023ac880648a9cc5ee2169d870f75af82fe8d5103ee2104605e7dfef6f76464526c6512c84761b09787d0a37a5a25682
|
@@ -11,7 +11,14 @@ module AchClient
|
|
11
11
|
# @param globals [Savon::GlobalOptions] Savon's global options
|
12
12
|
# @param locals [Savon::LocalOptions] Savon's global options
|
13
13
|
# @return [NilClass] returns nothing so the request is not mutated
|
14
|
-
def notify(operation_name, builder,
|
14
|
+
def notify(operation_name, builder, globals, _locals)
|
15
|
+
# Since Savon only lets us register observers globally this method is called by any other Savon clients outside
|
16
|
+
# this library. We don't want to log for those other clients so we check to see that the request came from
|
17
|
+
# AchClient by comparing the wsdl to our known wsdls
|
18
|
+
return unless [
|
19
|
+
AchClient::ICheckGateway.wsdl,
|
20
|
+
AchClient::AchWorks.wsdl
|
21
|
+
].include?(globals.instance_variable_get(:@options)[:wsdl])
|
15
22
|
# Send the xml body to the logger job
|
16
23
|
AchClient::Logging::LogProviderJob.perform_async(
|
17
24
|
body: builder.to_s,
|
data/lib/ach_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ach_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Cotter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ach
|