Class: Net::HTTP::Post::EpiloguePart
- Inherits:
-
Object
- Object
- Net::HTTP::Post::EpiloguePart
- Includes:
- Part
- Defined in:
- lib/net/http/post/multipart.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.
78 79 80 81 |
# File 'lib/net/http/post/multipart.rb', line 78 def initialize(boundary) @part = "--#{boundary}--\r\n" @io = StringIO.new(@part) end |