Class: MIME::FixedMimeTokenStream

Inherits:
Object
  • Object
show all
Defined in:
lib/mime/mime_message_parser.rb

Overview

The constructor for MimeTokenStream that takes a MimeEntityConfig is protected. We need to pass in a new config becuse the default one has a max line length of 1000. Since we will be getting SOAP repsonses with out new lines, we will easily exceed that. This class produces a MimeTokenStream with a longer max line length

Instance Method Summary collapse

Constructor Details

#initializeFixedMimeTokenStream

Returns a new instance of FixedMimeTokenStream.



8
9
10
11
12
# File 'lib/mime/mime_message_parser.rb', line 8

def initialize()
  config = MimeEntityConfig.new
  config.max_line_len = 4096
  super(config)
end