This repository holds samples used in the ruby documentation on cloud.google.com.
See our other Google Cloud Platform github repos for sample applications and scaffolding for other frameworks and use cases.
To browse ready to use code samples check Google Cloud Samples.
-
Clone this repo.
git clone https://github.com/GoogleCloudPlatform/ruby-docs-samples.git
-
Change directories to the sample that you want to test. Example:
cd ruby-docs-samples/storage
-
Run the tests from the command line.
bundle install bundle exec rspec