Class: MIME::FixedMimeTokenStream
- Inherits:
-
Object
- Object
- MIME::FixedMimeTokenStream
- 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
-
#initialize ⇒ FixedMimeTokenStream
constructor
A new instance of FixedMimeTokenStream.
Constructor Details
#initialize ⇒ FixedMimeTokenStream
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 |