From 9d337297adbe9625328d51d378b72badeceb2899 Mon Sep 17 00:00:00 2001 From: Braden Date: Sat, 9 Jan 2016 13:34:44 -0500 Subject: [PATCH] Remove List Name From Initializer Template The API will only return at max 30 list names for pattern matching. If a store has more than 30 lists, then the likelyhood of the pattern matching to be successful is limited. Encourage the user to use the list id instead. --- lib/generators/templates/spree_chimpy.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/generators/templates/spree_chimpy.rb b/lib/generators/templates/spree_chimpy.rb index ad8b62f..8f1eade 100644 --- a/lib/generators/templates/spree_chimpy.rb +++ b/lib/generators/templates/spree_chimpy.rb @@ -5,8 +5,10 @@ # extra api options for the Mailchimp gem # config.api_options = { throws_exceptions: false, timeout: 3600 } - # name of your list, defaults to "Members" - # config.list_name = 'peeps' + # list_id of the list you want to use. + # These ID's can be found by visiting your list in the Mailchimp admin, + # clicking on the settings tab, then the list names and defaults option. + # config.list_id = 'some_list_id' # Allow users to be subscribed by default. Defaults to false # If you enable this option, it's strongly advised that your enable