Method: MarathonEndpoint#app_names
- Defined in:
- lib/panteras_api/marathon_endpoint.rb
#app_names ⇒ Object
29 30 31 32 33 |
# File 'lib/panteras_api/marathon_endpoint.rb', line 29 def app_names apps = all_apps raise StandardError, "Empty response from marathon", caller if apps.nil? apps.collect { |a| a[:id][1..-1] } end |