To add your credentials, replace the values for
SPACE_ID
andACCESS_TOKEN
in script.rb.
./run
- Ruby 1.9+ (https://rubyinstaller.org/)
- Bundler (https://bundler.io/)
bundle install
ruby script.rb
Check out our Ruby Tutorials and Integrations: https://www.contentful.com/developers/docs/ruby/