diff options
Diffstat (limited to 'lib/mailchimp.ex')
-rw-r--r-- | lib/mailchimp.ex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mailchimp.ex b/lib/mailchimp.ex index 144168d..15f5323 100644 --- a/lib/mailchimp.ex +++ b/lib/mailchimp.ex @@ -29,6 +29,10 @@ defmodule Mailchimp do GenServer.call(:mailchimp, {:add_member, list_id, email}) end + def add_pending_member(list_id, email) do + GenServer.call(:mailchimp, {:add_pending_member, list_id, email}) + end + ### Server API def handle_call(:account_details, _from, config) do details = Mailchimp.Account.get_details(config) |