Sha256: 1d07cf25f497aa59640592246c99c1e173ba228089352a6adf4e072d0a186e84

Contents?: true

Size: 275 Bytes

Versions: 6

Compression:

Stored size: 275 Bytes

Contents

module Workarea
  module Storefront
    class ReviewMailerPreview < ActionMailer::Preview
      def review_request
        request = Review::Request.ready_to_send.first || Review::Request.first
        ReviewMailer.review_request(request.id.to_s)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-reviews-3.1.2 lib/workarea/mailer_previews/storefront/review_mailer_preview.rb
workarea-reviews-3.1.1 lib/workarea/mailer_previews/storefront/review_mailer_preview.rb
workarea-reviews-3.1.0 lib/workarea/mailer_previews/storefront/review_mailer_preview.rb
workarea-reviews-3.0.10 lib/workarea/mailer_previews/storefront/review_mailer_preview.rb
workarea-reviews-3.0.9 lib/workarea/mailer_previews/storefront/review_mailer_preview.rb
workarea-reviews-3.0.8 lib/workarea/mailer_previews/storefront/review_mailer_preview.rb