thoughtbot/art_vandelay

Pass options to csv when emailing an export

Closed this issue · 0 comments

Right now we just call csv with the default options when emailing an export. It would be nice to pass options to the email_csv method.

def email_csv(to:, from: ArtVandelay.from_address, subject: "#{model_name} export", body: "#{model_name} export")