module RailsCom::ActionMailbox::InboundEmail
Public Instance Methods
docx()
click to toggle source
# File lib/rails_com/action_mailbox/inbound_email.rb, line 12 def docx mail.attachments.map do |attachment| Docx::Document.new(attachment.body.to_s) if attachment.filename.end_with?('.docx') end.compact end