Class: PlatformAPI::Source
- Inherits:
-
Object
- Object
- PlatformAPI::Source
- 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
-
#create(app_id_or_app_name) ⇒ Object
Create URLs for uploading and downloading source.
-
#initialize(client) ⇒ Source
constructor
A new instance of Source.
Constructor Details
#initialize(client) ⇒ Source
Returns a new instance of Source.
2098 2099 2100 |
# File 'lib/platform-api/client.rb', line 2098 def initialize(client) @client = client end |
Instance Method Details
#create(app_id_or_app_name) ⇒ Object
Create URLs for uploading and downloading source.
2105 2106 2107 |
# File 'lib/platform-api/client.rb', line 2105 def create(app_id_or_app_name) @client.source.create(app_id_or_app_name) end |