Sha256: eb4f86e5e14aa0423ae6ee5282a9f85191aba47c5f63bfc0ad182a76042243f6
Contents?: true
Size: 1.61 KB
Versions: 3
Compression:
Stored size: 1.61 KB
Contents
# https://github.com/friendsoftheweb/solidus_mailchimp_sync # Strogly suggest you set your mailchimp API key in your ENV SolidusMailchimpSync.api_key = ENV['MAILCHIMP_API_KEY'] # These ones are not especially confidential and don't need to be ENV, # you can set them however you like: # We need to know the id of the Mailchimp Store object. If you don't # have one, you can create one with `rake solidus_mailchimp_sync:create_store LIST_ID=xxxx` SolidusMailchimpSync.store_id = ENV['MAILCHIMP_STORE_ID'] # Disable automatic sync except in production. Feel free to change # this is you like. SolidusMailchimpSync.auto_sync_enabled = Rails.env.production? # Automatic synchronization is done with ActiveJob, use a queue # other than :default if you want: # SolidusMailchimpSync::SyncJob.use_queue_name = :mailchimp_sync # Turn off not just auto-sync, but completely disable connections # to mailchip at all, make them no-op. # SolidusMailchimpSync.enabled = false # You may want to provide custom serializers, to provide custom # urls (esp if you don't use Solidus frontend), or account # for custom data or logic, or sync more Customer attributes # from your local User class. # # SolidusMailchimpSync::OrderSynchronizer.serializer_class_name = "::SolidusMailchimpSync::MyAppOrderSerializer" # SolidusMailchimpSync::VariantSynchronizer.serializer_class_name = "::SolidusMailchimpSync::MyAppVariantSerializer" # # SolidusMailchimpSync::UserSynchronizer.synced_attributes.concat ['first_name', 'last_name'] # need to be strings # SolidusMailchimpSync::UserSynchronizer.serializer_class_name = "::SolidusMailchimpSync::MyAppCustomerSerializer"
Version data entries
3 entries across 3 versions & 1 rubygems