Sha256: 51883b60280df1f3ca2e2090f58ce080d30a98b4c9b6950db10ad115449000f5
Contents?: true
Size: 477 Bytes
Versions: 112
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true require "collection_presenter" module Renalware module Letters module Printing class PrintableRecipients def self.for(letter) recipients = [letter.main_recipient] recipients.concat(letter.cc_recipients) recipients.reject!(&:statment_to_indicate_letter_will_be_emailed) CollectionPresenter.new(recipients, RecipientPresenter::WithCurrentAddress) end end end end end
Version data entries
112 entries across 112 versions & 1 rubygems