Class: Datadog::Core::Vendor::Multipart::Post::Parts::EpiloguePart
- Inherits:
-
Object
- Object
- Datadog::Core::Vendor::Multipart::Post::Parts::EpiloguePart
- Includes:
- Part
- Defined in:
- lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb
Overview
Represents the epilogue or closing boundary.
Instance Method Summary collapse
-
#initialize(boundary) ⇒ EpiloguePart
constructor
A new instance of EpiloguePart.
Methods included from Part
Constructor Details
#initialize(boundary) ⇒ EpiloguePart
Returns a new instance of EpiloguePart.
127 128 129 130 |
# File 'lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb', line 127 def initialize(boundary) @part = "--#{boundary}--\r\n" @io = StringIO.new(@part) end |