You can use the OSS Ruby SDK to download files in the following ways:
Download to a local file (Ruby SDK)
Streaming download (Ruby SDK)
Resumable download (Ruby SDK)