active_campaign 0.1.5 → 0.1.7
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/Gemfile +1 -1
- data/lib/active_campaign/client.rb +2 -2
- data/lib/active_campaign/version.rb +1 -1
- data/spec/client/contacts_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e1c09d18cb84b9d4fbacc18ccb1a5a87fa085c5
|
|
4
|
+
data.tar.gz: 6acb3891a5ecdf400b4a6276160b34742322c59f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9036c963a37285703fee254e30ac2f0f396a356a8b454c8f109bbc304fe1b711554ebb549c058029f1439ad4ce9f989a17a918727da5d81f134280f578d744fc
|
|
7
|
+
data.tar.gz: fcd5a542e0c33e9310f716051361d2983eb930a6778d752e7fbe4f027614b6437514d52d8434555444231e04f51c2d00dcb80157e9c07ef6e69485e3e9351b3f
|
data/Gemfile
CHANGED
|
@@ -31,7 +31,7 @@ module ActiveCampaign
|
|
|
31
31
|
#
|
|
32
32
|
# @param url [String] The path, relative to {#api_endpoint}
|
|
33
33
|
# @param options [Hash] Query and header params for request
|
|
34
|
-
# @return [
|
|
34
|
+
# @return [Hash]
|
|
35
35
|
def get(api_method, options = {})
|
|
36
36
|
request :get, api_method, options
|
|
37
37
|
end
|
|
@@ -40,7 +40,7 @@ module ActiveCampaign
|
|
|
40
40
|
#
|
|
41
41
|
# @param url [String] The path, relative to {#api_endpoint}
|
|
42
42
|
# @param options [Hash] Body and header params for request
|
|
43
|
-
# @return [
|
|
43
|
+
# @return [Hash]
|
|
44
44
|
def post(api_method, options = {})
|
|
45
45
|
request :post, api_method, options
|
|
46
46
|
end
|
|
@@ -14,9 +14,9 @@ describe ActiveCampaign::Client::Contacts, :vcr do
|
|
|
14
14
|
email: 'mhenrixon@me.com',
|
|
15
15
|
first_name: 'Mikael',
|
|
16
16
|
last_name: 'Henriksson',
|
|
17
|
-
"p" => {
|
|
18
|
-
"status" => {
|
|
19
|
-
"instantresponders" => {
|
|
17
|
+
"p" => {1 => 1},
|
|
18
|
+
"status" => {1 => 1},
|
|
19
|
+
"instantresponders" => {1 => 1},
|
|
20
20
|
ip4: '127.0.0.1',
|
|
21
21
|
}.stringify_keys
|
|
22
22
|
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.1.
|
|
4
|
+
version: 0.1.7
|
|
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-10-
|
|
11
|
+
date: 2013-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httpi
|