Sha256: 4b61fa4c639e9e879b5a04a064ca5760f7f3274229d95f3c7d0c83c7e3e118e5

Contents?: true

Size: 437 Bytes

Versions: 5

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

Isolator.isolate :mailer, target: Mail::Message,
                          method_name: :deliver,
                          exception_class: Isolator::MailerError,
                          details_message: ->(obj, _args) {
                            "From: #{obj.from}\n" \
                            "To: #{obj.to}\n" \
                            "Subject: #{obj.subject}"
                          }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
isolator-0.8.0 lib/isolator/adapters/mailers/mail.rb
isolator-0.7.0 lib/isolator/adapters/mailers/mail.rb
isolator-0.6.2 lib/isolator/adapters/mailers/mail.rb
isolator-0.6.1 lib/isolator/adapters/mailers/mail.rb
isolator-0.6.0 lib/isolator/adapters/mailers/mail.rb