Sha256: 7710ee4e763fc1b98014b393a11cb2d2b0587e7bfa3b1e36d151ca5eacaa94e6

Contents?: true

Size: 164 Bytes

Versions: 5

Compression:

Stored size: 164 Bytes

Contents

Spree::Order.class_eval do
  after_commit :mailchimp_sync

  private
  def mailchimp_sync
    SolidusMailchimpSync::OrderSynchronizer.new(self).auto_sync
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_mailchimp_sync-1.0.0.beta05 app/solidus_decorators/spree/order_decorator.rb
solidus_mailchimp_sync-1.0.0.beta04 app/solidus_decorators/spree/order_decorator.rb
solidus_mailchimp_sync-1.0.0.beta03 app/solidus_decorators/spree/order_decorator.rb
solidus_mailchimp_sync-1.0.0.beta02 app/solidus_decorators/spree/order_decorator.rb
solidus_mailchimp_sync-1.0.0.beta01 app/solidus_decorators/spree/order_decorator.rb