carterdte_smtp_filter 0.0.5.1 → 0.0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carterdte_smtp_filter/api_client.rb +1 -1
- data/lib/carterdte_smtp_filter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75135f1d41b92543a14cf53230cf50688147251c
|
4
|
+
data.tar.gz: c2d6a52db5781684792a8b1d2e8c0c005c38f2d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 005f6e5a299b58920eca2932b73fb7c251f851eb4d22fee8cc121cd1c33e7f5c19a71672642f65f64216614c5022cbfdc958e29605a18ec7a8460b8b17212eff
|
7
|
+
data.tar.gz: bec7e0bf64b1c9185fa27a4e3ae88f21299835d6eef7eb15ed9666c578507fab4a709ff145bf9782b7ca388ac0e2487fb27f64623d35890b6a90c126b8b78aac
|
@@ -51,7 +51,7 @@ module CarterdteSmtpFilter
|
|
51
51
|
resource = RestClient::Resource.new url, api_user, api_password
|
52
52
|
logger.debug("Post #{payload} to #{url}") if CarterdteSmtpFilter::Config::debug
|
53
53
|
response = resource.post payload, :content_type => :json, :accept => :json, :verify_ssl => OpenSSL::SSL::VERIFY_NONE
|
54
|
-
logger.debug("Api response #{response}")
|
54
|
+
logger.debug("Api response #{response}") if CarterdteSmtpFilter::Config::debug
|
55
55
|
rescue Exception => e
|
56
56
|
logger.error("#{e} #{e.http_code} - #{url}")
|
57
57
|
|