ruby >= 1.9
sudo apt-get install ruby
sudo gem install bundler
-
Get source:
git clone [email protected]:oss/ruby-sdk.git
-
Install dependencies:
cd ruby-sdk bundle install
-
Fill credentials and run example. Fill your access key id and access key secret in ~/.oss.yml and run the example:
ruby lib/example.rb