Module: SubscribedTo::MailChimp::ClassMethods
- Defined in:
- lib/subscribed_to/mail_chimp.rb
Instance Method Summary collapse
-
#list_id ⇒ Object
Returns the list id for the class as defined in mail_chimp.
-
#merge_vars ⇒ Object
Returns the hash of merge vars for the class as defined in mail_chimp.
Instance Method Details
#list_id ⇒ Object
Returns the list id for the class as defined in mail_chimp
10 11 12 |
# File 'lib/subscribed_to/mail_chimp.rb', line 10 def list_id SubscribedTo.mail_chimp_config.lists[@list_key][:id] end |
#merge_vars ⇒ Object
Returns the hash of merge vars for the class as defined in mail_chimp
15 16 17 |
# File 'lib/subscribed_to/mail_chimp.rb', line 15 def merge_vars SubscribedTo.mail_chimp_config.lists[@list_key][:merge_vars] end |