ruby-mailchimp 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mail_chimp.rb +2 -2
  2. metadata +2 -2
data/lib/mail_chimp.rb CHANGED
@@ -100,10 +100,10 @@ class MailChimp
100
100
  client.call("listUpdateMember", uid, list_id, email, merge_vars, email_type, replace_interests)
101
101
  end
102
102
 
103
- def listMembers(uid, list_id, status)
103
+ def listMembers(uid, list_id, status, start=1, limit=100)
104
104
  raise StandardError("Not Loggged in or invalid UID.") if (uid.nil?)
105
105
  client = XMLRPC::Client.new2(API_URL) if client.nil?
106
- client.call("listMembers", uid, list_id, status)
106
+ client.call("listMembers", uid, list_id, status, start, limit)
107
107
  end
108
108
 
109
109
  def listMemberInfo(uid, list_id, email)
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.4.0
4
+ version: 0.4.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-05-20 00:00:00 -04:00
12
+ date: 2008-05-21 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency