Sha256: 6cc9b68d5a91763f0ef15df20e7682669e5b90a530669b70cea9fb15f0f91554

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
isolator-1.1.0 lib/isolator/adapters/mailers/mail.rb
isolator-1.0.1 lib/isolator/adapters/mailers/mail.rb
isolator-1.0.0 lib/isolator/adapters/mailers/mail.rb