active_campaign 0.0.11 → 0.0.12
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/active_campaign/client/campaigns.rb +1 -1
- data/lib/active_campaign/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: 3ef07b98e74c5fb735346d1892c8bd3a8b0a6ad3
|
|
4
|
+
data.tar.gz: 0d77124c85dab81705442adfc9af3fab78530b0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c91bafde1b49f1ab0ffee41ab454fb39c0a33f835d1766ef9069055b531df8aeaa9bcbee485b9a9c7f3082590306c2983ad60fc8cda5f0bd135c9057f200b33
|
|
7
|
+
data.tar.gz: e72487eff7c555c95e7d23474aa60983c5e6b56f79ec237d2f8bde2e56a63675da0d3f845de6cf18430030ff171e2be69435c64a4c4ee743b8a52e350d155c0e
|
|
@@ -15,7 +15,7 @@ module ActiveCampaign
|
|
|
15
15
|
# TODO: Create proper methods with parameter validation and possible naming fixes since this is one the worst APIs I have ever worked with.
|
|
16
16
|
included do
|
|
17
17
|
CONTACT_METHODS.each do |method|
|
|
18
|
-
define_method "
|
|
18
|
+
define_method "campaign_#{method}" do |options|
|
|
19
19
|
if CONTACT_POST_METHODS.include?(method)
|
|
20
20
|
post __method__, options
|
|
21
21
|
else
|