Method: VMC::Client#create_app
- Defined in:
- lib/vmc/client.rb
#create_app(name, manifest = {}) ⇒ Object
79 80 81 82 83 84 85 |
# File 'lib/vmc/client.rb', line 79 def create_app(name, manifest={}) check_login_status app = manifest.dup app[:name] = name app[:instances] ||= 1 json_post(VMC::APPS_PATH, app) end |