Method: PlatformAPI::Dyno#create

Defined in:
lib/platform-api/client.rb

#create(app_id_or_app_name, body = {}) ⇒ Object

Create a new dyno.

Parameters:

  • app_id_or_app_name:

    unique identifier of app or unique name of app

  • body:

    the object to pass as the request payload



1740
1741
1742
# File 'lib/platform-api/client.rb', line 1740

def create(app_id_or_app_name, body = {})
  @client.dyno.create(app_id_or_app_name, body)
end