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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b1a95ecb8e1b511c3384759c2d0005c668fc12b
4
- data.tar.gz: 43695dcb3082d1813111219d2585522974ae676e
3
+ metadata.gz: 3ef07b98e74c5fb735346d1892c8bd3a8b0a6ad3
4
+ data.tar.gz: 0d77124c85dab81705442adfc9af3fab78530b0e
5
5
  SHA512:
6
- metadata.gz: fbc903d5b648f21ae4263946e38d1c626d89e4ccc3b98a56e4a9fcb049b9f02f1a252dd14277abea8ea7e123ace929b73e29dced342a6bd938bc57515a84f596
7
- data.tar.gz: e20a981dc8125cd567dcd6bcac64caa0aa04ef279ea82e41c45bfd7aa999d294098ffd3883bb579b25997bd0a1d902f9b6310982d40055e7859a5eb52b49dd30
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 "contact_#{method}" do |options|
18
+ define_method "campaign_#{method}" do |options|
19
19
  if CONTACT_POST_METHODS.include?(method)
20
20
  post __method__, options
21
21
  else
@@ -1,3 +1,3 @@
1
1
  module ActiveCampaign
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_campaign
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson