ruby-mailchimp 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mail_chimp.rb +6 -1
- metadata +2 -2
data/lib/mail_chimp.rb
CHANGED
@@ -62,7 +62,12 @@ class MailChimp
|
|
62
62
|
listhash_key = list["name"]
|
63
63
|
listhash[listhash_key] = list
|
64
64
|
}
|
65
|
-
return
|
65
|
+
return listhash[listname]
|
66
|
+
end
|
67
|
+
|
68
|
+
def getListIdByName(uid, listname)
|
69
|
+
list = getListByName(uid, listname)
|
70
|
+
return list["id"]
|
66
71
|
end
|
67
72
|
|
68
73
|
def listMergeVars(uid, list_id)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-mailchimp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C. G. Brown
|
@@ -9,7 +9,7 @@ autorequire: mail_chimp
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-02-
|
12
|
+
date: 2008-02-12 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|