Class: RestBuilder::Payload::StreamedString
- Inherits:
-
Streamed
- Object
- RestBuilder::Payload
- Streamed
- RestBuilder::Payload::StreamedString
- Defined in:
- lib/rest-builder/payload.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from RestBuilder::Payload
Instance Method Summary collapse
-
#initialize(payload) ⇒ StreamedString
constructor
A new instance of StreamedString.
Methods inherited from Streamed
Methods inherited from RestBuilder::Payload
#close, #closed?, generate, generate_with_headers, #headers, #read, #size
Constructor Details
#initialize(payload) ⇒ StreamedString
Returns a new instance of StreamedString.
78 79 80 |
# File 'lib/rest-builder/payload.rb', line 78 def initialize payload super(StringIO.new(payload)) end |