active_campaign 0.0.10 → 0.0.11

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: 10ce493e978ec9e429516c83ae2f1ba53f9c5e66
4
- data.tar.gz: f1dcc7b8978a5cb93447c507b1d6fe64ae8652a2
3
+ metadata.gz: 5b1a95ecb8e1b511c3384759c2d0005c668fc12b
4
+ data.tar.gz: 43695dcb3082d1813111219d2585522974ae676e
5
5
  SHA512:
6
- metadata.gz: 77759685958be28a81f68241f2d2f22a8c753f9d18c4320d001af3a451572d7684a922f5742375eeae9aafebb179f6952ebd2ba29c1a33ffa4f28d969a2884ee
7
- data.tar.gz: 434b2e09d58274c05f65b8db368378020bc3ee50344be011790e6da7b9a204becb58c5e6509ea3bf10ce0bcb002427fe9c2a8c6b13aaa91c0e28075f035cf1fd
6
+ metadata.gz: fbc903d5b648f21ae4263946e38d1c626d89e4ccc3b98a56e4a9fcb049b9f02f1a252dd14277abea8ea7e123ace929b73e29dced342a6bd938bc57515a84f596
7
+ data.tar.gz: e20a981dc8125cd567dcd6bcac64caa0aa04ef279ea82e41c45bfd7aa999d294098ffd3883bb579b25997bd0a1d902f9b6310982d40055e7859a5eb52b49dd30
@@ -4,6 +4,7 @@ require 'active_campaign/request'
4
4
 
5
5
  require 'active_campaign/client/contacts'
6
6
  require 'active_campaign/client/lists'
7
+ require 'active_campaign/client/campaigns'
7
8
 
8
9
  module ActiveCampaign
9
10
  class Client
@@ -21,5 +22,6 @@ module ActiveCampaign
21
22
 
22
23
  include ActiveCampaign::Client::Contacts
23
24
  include ActiveCampaign::Client::Lists
25
+ include ActiveCampaign::Client::Campaigns
24
26
  end
25
27
  end
@@ -21,13 +21,14 @@ module ActiveCampaign
21
21
  :log_requests,
22
22
  :per_page].freeze
23
23
 
24
- DEFAULT_ADAPTER = Faraday.default_adapter
25
- DEFAULT_API_VERSION = 3
26
- DEFAULT_API_ENDPOINT = ENV["ACTIVECAMPAIGN_API_ENDPOINT"] || "https://yourdomain.activehosted.com"
27
- DEFAULT_API_PATH = ENV["ACTIVECAMPAIGN_API_PATH"] || "admin/api.php"
28
- DEFAULT_API_OUTPUT = ENV["ACTIVECAMPAIGN_API_OUTPUT"] || "json"
29
- DEFAULT_USER_AGENT = "ActiveCampaign Ruby Gem #{ActiveCampaign::VERSION}".freeze
30
- DEFAULT_AUTO_TRAVERSAL = false
24
+ DEFAULT_ADAPTER = Faraday.default_adapter
25
+ DEFAULT_API_VERSION = 3
26
+ TEST_URL = "https://yourdomain.activehosted.com"
27
+ DEFAULT_API_ENDPOINT = ENV["ACTIVECAMPAIGN_API_ENDPOINT"] || TEST_URL
28
+ DEFAULT_API_PATH = ENV["ACTIVECAMPAIGN_API_PATH"] || "admin/api.php"
29
+ DEFAULT_API_OUTPUT = ENV["ACTIVECAMPAIGN_API_OUTPUT"] || "json"
30
+ DEFAULT_USER_AGENT = "ActiveCampaign Ruby Gem #{VERSION}".freeze
31
+ DEFAULT_AUTO_TRAVERSAL = false
31
32
 
32
33
  attr_accessor(*VALID_OPTIONS_KEYS)
33
34
 
@@ -1,3 +1,3 @@
1
1
  module ActiveCampaign
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_campaign
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-27 00:00:00.000000000 Z
11
+ date: 2013-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  requirements: []
211
211
  rubyforge_project:
212
- rubygems_version: 2.0.3
212
+ rubygems_version: 2.0.7
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: See http://www.activecampaign.com/api/overview.php for more information