event-reporting-handler 0.1.14 → 0.1.15
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6573d0110ed246194a99f83c4a0aa64e1f16d4f4
|
4
|
+
data.tar.gz: 1943dcd3edbed56dbb1d5ad9445411b64cb58241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a09244a3aef624bd3c06147fdf89cd192c3f44248527fb070b28e90b681dab1fa7e62a263726dc8bbe732bc3846ca0d7567d6a07a05ca7e88fb090a6b57114f4
|
7
|
+
data.tar.gz: 9386705c6dfd4ea040d33c711de6bac9122098bffeb4b299ae04321784aaaa8e80b23a57a2c59967fd373db8740669dee4fd2f37f1af148279eb4317bb69e3bf
|
@@ -61,7 +61,7 @@ module BloombergLP
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def publish_event(event, custom_attributes = {})
|
64
|
-
json_to_publish = get_json_from_event(event, custom_attributes.merge(whitelist_attributes))
|
64
|
+
json_to_publish = get_json_from_event(event, custom_attributes.merge(@whitelist_attributes))
|
65
65
|
uri = URI(@http_url)
|
66
66
|
res = Net::HTTP.start(uri.host, uri.port) do |http|
|
67
67
|
http.post(uri.path, json_to_publish, 'Content-Type' => 'application/json')
|