Sha256: 81baa44e58628f5d2d39620fc1add3383e2d8c9f10cb207492ea3dfd0d6f35ac
Contents?: true
Size: 430 Bytes
Versions: 20
Compression:
Stored size: 430 Bytes
Contents
module Astrotrain class Mapping class HttpPost < Transport def process return unless Transport.processing RestClient.post @mapping.destination, fields.merge(:emails => fields[:emails].join(",")) end def fields super @message.attachments.each_with_index do |att, index| @fields[:"attachments_#{index}"] = att end @fields end end end end
Version data entries
20 entries across 20 versions & 2 rubygems