class RestClient::Payload::Streamed
Public Instance Methods
Source
# File lib/restclient/payload.rb, line 112 def build_stream(params = nil) @stream = params end
TODO (breaks compatibility): ought to use mime_for() to autodetect the Content-Type for stream objects that have a filename.
Alias for: size