Method: VMC::Client#app_most_recent_deploy
- Defined in:
- lib/vmc/client.rb
#app_most_recent_deploy(name) ⇒ Object
160 161 162 163 164 165 166 167 168 |
# File 'lib/vmc/client.rb', line 160 def app_most_recent_deploy(name) check_login_status begin json_get(path(VMC::APPS_PATH, name, 'most_recent_deploy')) rescue BadResponse # this is probably because there was no deploy.. it returns "null", which JSON.parse can't handle return nil end end |