Sha256: c00264261bfab48397c46686d16e29528a68e50a642d0b73b872bc2677ee21e3

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

module Devmail
  class Message < Struct.new(:from, :to, :cc, :bcc, :sender, :reply_to,
    :subject, :multipart, :text_part, :html_part, :mailer_class)

    def summary
      "#{from.join(', ')} to #{to.join(', ')}: #{subject}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devmail-0.1.0 lib/devmail/message.rb