Skip to content

Instantly share code, notes, and snippets.

@jahio
Created June 29, 2015 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jahio/aaf37c370f73c4be4095 to your computer and use it in GitHub Desktop.
Save jahio/aaf37c370f73c4be4095 to your computer and use it in GitHub Desktop.
ENV Snapshots for EY Cloud Client
# Assuming you've authenticated with an object named 'api'...
env = (api.environments.select { |x| x.name == "my_uniqe_env_name"}).first
env.snapshots
# big list of all environment snapshots here (array)
#
# See your app master snapshots (array):
env.snapshots.select { |x| x.role == "app_master" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment