trabajo-afectivo/app/models/channel/driver/mail_stdin.rb

12 lines
249 B
Ruby
Raw Normal View History

2014-02-03 19:23:00 +00:00
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
2015-08-28 00:53:14 +00:00
class Channel::Driver::MailStdin < Channel::EmailParser
def initialize
2015-05-04 19:34:04 +00:00
Rails.logger.info 'read main from STDIN'
msg = ARGF.read
process( {}, msg )
end
end