module SubscribedTo::MailChimp::ClassMethods
Public Instance Methods
list_id()
click to toggle source
Returns the list id for the class as defined in mail_chimp
# File lib/subscribed_to/mail_chimp.rb, line 10 def list_id SubscribedTo.mail_chimp_config.lists[@list_key][:id] end
merge_vars()
click to toggle source
Returns the hash of merge vars for the class as defined in mail_chimp
# File lib/subscribed_to/mail_chimp.rb, line 15 def merge_vars SubscribedTo.mail_chimp_config.lists[@list_key][:merge_vars] end