class PlatformAPI::Source

A source is a location for uploading and downloading an application's source code.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 2909
def initialize(client)
  @client = client
end

Public Instance Methods

create() click to toggle source

Create URLs for uploading and downloading source.

# File lib/platform-api/client.rb, line 2914
def create()
  @client.source.create()
end
create_deprecated(app_id_or_app_name) click to toggle source

Create URLs for uploading and downloading source. Deprecated in favor of `POST /sources`

@param app_id_or_app_name: unique identifier of app or unique name of app

# File lib/platform-api/client.rb, line 2921
def create_deprecated(app_id_or_app_name)
  @client.source.create_deprecated(app_id_or_app_name)
end