aweber / AWeber-API-Ruby-Library

DEPRECATED - Ruby interface to AWeber's API.
http://www.aweber.com
BSD 3-Clause "New" or "Revised" License
25 stars 18 forks source link

Auto confirmation/subscription of customer #39

Open shivabhusal opened 8 years ago

shivabhusal commented 8 years ago

Hey, I am adding customer from my rails app. But; its sending confirmation email and the status of the customer is "Confirmation Pending"

image

But I have set the status field to subscribed

data = {
        'name' => "#{mode_info}#{customer.decorate.full_name}",
        'email' => customer.email,
        'status' => 'subscribed'
    }

how to auto setting the status to subscribed??