active_campaign 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_campaign/version.rb +1 -1
- data/lib/active_campaign.rb +3 -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: 242d69bca5c508a8c10cd136988de4df41103439
|
4
|
+
data.tar.gz: 3c3df3c9e8cfe4f64e444c6056c0490e0f531a19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77db214a88ae278cd382b936ad93b777a3947cb130663dcac8d2fe646cf5c8216eb11a1066e745e4fdf33fcf75e478cea3aa64e1d1c8c424da20ce086e7e9923
|
7
|
+
data.tar.gz: 6f715005e65fbf393ccbf0f5442613e12e3552816dd622f061b6106afa49afd63d24d6e2c399f044f858a971a5873693410c49c4728a7237e5222b7a140fad00
|
data/lib/active_campaign.rb
CHANGED
@@ -24,7 +24,9 @@ module ActiveCampaign
|
|
24
24
|
# Delegate to ActiveCampaign::Client.new
|
25
25
|
def method_missing(method, *args, &block)
|
26
26
|
return super unless new.respond_to?(method)
|
27
|
-
new.send(method, *args, &block)
|
27
|
+
response = new.send(method, *args, &block)
|
28
|
+
response.results = response.reject{|k,v| %w(result_code result_message result_output).include?(k) }.values
|
29
|
+
response
|
28
30
|
end
|
29
31
|
|
30
32
|
def respond_to?(method, include_private=false)
|