mailchimp-rest-api 0.5.0 → 0.5.1
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/VERSION +1 -1
- data/lib/mailchimp-api/resources/audience/merge_fields.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7d6c1758a183bc1656fa93b77c4ed9a5990866cee410320a39b34535185cd04
|
4
|
+
data.tar.gz: ae9c2b47db1a9866066a9dea445e18e524bec2e409e04f725b3e7d0a9e9bce1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39841db587fa2a38e6c0f220b35f0f777b247690a52e606b4a5ee46eb35b0c6f061b374810623177b043df76ada7c94e6e38fca314f302e1d213c2d64f74deea
|
7
|
+
data.tar.gz: bfa862deaa88823602394cba7cd5a825ce564eb974232445af1db55fbef46c26406a2886b69f92b0b4feb059e1b464630f8f8d416cb25b0a7c121c30d6351945
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
@@ -18,7 +18,7 @@ module MailchimpAPI
|
|
18
18
|
# @example Get merge fields for a list
|
19
19
|
# merge_fields.list('list123')
|
20
20
|
def list(list_id, query: nil, body: nil, headers: nil)
|
21
|
-
path = "/lists/#{list_id}/
|
21
|
+
path = "/lists/#{list_id}/merge-fields"
|
22
22
|
client.get(path, query: query, body: body, headers: headers)
|
23
23
|
end
|
24
24
|
|
@@ -36,7 +36,7 @@ module MailchimpAPI
|
|
36
36
|
# public: false
|
37
37
|
# })
|
38
38
|
def create(list_id, query: nil, body: nil, headers: nil)
|
39
|
-
path = "/lists/#{list_id}/
|
39
|
+
path = "/lists/#{list_id}/merge-fields"
|
40
40
|
client.post(path, query: query, body: body, headers: headers)
|
41
41
|
end
|
42
42
|
|
@@ -50,7 +50,7 @@ module MailchimpAPI
|
|
50
50
|
# @example Get details for a merge field
|
51
51
|
# merge_fields.show('list123', 'mergefield456')
|
52
52
|
def show(list_id, merge_id, query: nil, body: nil, headers: nil)
|
53
|
-
path = "/lists/#{list_id}/
|
53
|
+
path = "/lists/#{list_id}/merge-fields/#{merge_id}"
|
54
54
|
client.get(path, query: query, body: body, headers: headers)
|
55
55
|
end
|
56
56
|
|
@@ -66,7 +66,7 @@ module MailchimpAPI
|
|
66
66
|
# name: 'Updated Merge Field Name'
|
67
67
|
# })
|
68
68
|
def update(list_id, merge_id, query: nil, body: nil, headers: nil)
|
69
|
-
path = "/lists/#{list_id}/
|
69
|
+
path = "/lists/#{list_id}/merge-fields/#{merge_id}"
|
70
70
|
client.patch(path, query: query, body: body, headers: headers)
|
71
71
|
end
|
72
72
|
|
@@ -80,7 +80,7 @@ module MailchimpAPI
|
|
80
80
|
# @example Delete a merge field
|
81
81
|
# merge_fields.delete('list123', 'mergefield456')
|
82
82
|
def delete(list_id, merge_id, query: nil, body: nil, headers: nil)
|
83
|
-
path = "/lists/#{list_id}/
|
83
|
+
path = "/lists/#{list_id}/merge-fields/#{merge_id}"
|
84
84
|
client.delete(path, query: query, body: body, headers: headers)
|
85
85
|
end
|
86
86
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailchimp-rest-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Glushkov
|
@@ -57,7 +57,7 @@ metadata:
|
|
57
57
|
changelog_uri: https://github.com/andreyruby/mailchimp-rest-api/CHANGELOG.md
|
58
58
|
documentation_uri: https://github.com/andreyruby/mailchimp-rest-api/README.md
|
59
59
|
homepage_uri: https://github.com/andreyruby/mailchimp-rest-api
|
60
|
-
source_code_uri: https://github.com/andreyruby/mailchimp-rest-api/tree/v0.5.
|
60
|
+
source_code_uri: https://github.com/andreyruby/mailchimp-rest-api/tree/v0.5.1
|
61
61
|
rdoc_options: []
|
62
62
|
require_paths:
|
63
63
|
- lib
|