Skynet gem
Library for integrating Skynet into Ruby applications
Getting started
Gem
gem install ruby-skynet
Bundle
bundle add ruby-skynet
Gemfile
gem 'ruby-skynet', '~> 1.3'
Examples
require 'skynet'
# Upload
upload = Skynet.upload_file('src.jpg')
puts upload
#=> Upload successful, skylink: ABC123
# Download
download = Skynet.download_file("test/src.jpg", skylink)
puts download
#=> Download successful!
For more see examples.md