Class: PlatformAPI::Source

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Source

Returns a new instance of Source.



4385
4386
4387
# File 'lib/platform-api/client.rb', line 4385

def initialize(client)
  @client = client
end

Instance Method Details

#createObject

Create URLs for uploading and downloading source.



4392
4393
4394
# File 'lib/platform-api/client.rb', line 4392

def create()
  @client.source.create()
end

#create_deprecated(app_id_or_app_name) ⇒ Object



4404
4405
4406
# File 'lib/platform-api/client.rb', line 4404

def create_deprecated(app_id_or_app_name)
  @client.source.create_deprecated(app_id_or_app_name)
end