Created
June 29, 2015 22:10
-
-
Save jahio/aaf37c370f73c4be4095 to your computer and use it in GitHub Desktop.
ENV Snapshots for EY Cloud Client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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