class Seahorse::Client::Http::Request

def body=(io)

Parameters:
  • io (#read, #size, #rewind) --
def body=(io)
  @body =case io
    when nil then StringIO.new('')
    when String then StringIO.new(io)
    else io
  end
end