Sha256: d543d1127081a3618e0e72103dd69df0a9726a8c059fa61c2209048ba2acd33a

Contents?: true

Size: 267 Bytes

Versions: 19

Compression:

Stored size: 267 Bytes

Contents

module Spree
  class MailerPreviews
    class CartonPreview < ActionMailer::Preview
      def shipped
        carton = Carton.first
        Spree::Config.carton_shipped_email_class.shipped_email(order: carton.orders.first, carton: carton)
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
solidus_core-1.3.2 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.2.3 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.1.4 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.3.1 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.3.0 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.3.0.rc2 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.3.0.rc1 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.3.0.beta1 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.2.2 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.2.1 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.1.3 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.2.0 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.2.0.rc2 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.1.2 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.2.0.rc1 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.2.0.beta1 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.1.1 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.1.0 lib/spree/mailer_previews/carton_preview.rb
solidus_core-1.1.0.pre2 lib/spree/mailer_previews/carton_preview.rb