Class: PlaycustomappClient
- Inherits:
-
Supply::AbstractGoogleServiceClient
- Object
- Supply::AbstractGoogleServiceClient
- PlaycustomappClient
- Defined in:
- fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb
Constant Summary collapse
- SERVICE =
Google::Apis::PlaycustomappV1::PlaycustomappService
- SCOPE =
Google::Apis::PlaycustomappV1::AUTH_ANDROIDPUBLISHER
Instance Attribute Summary
Attributes inherited from Supply::AbstractGoogleServiceClient
Create collapse
Methods inherited from Supply::AbstractGoogleServiceClient
#initialize, make_from_config, service_account_authentication
Constructor Details
This class inherits a constructor from Supply::AbstractGoogleServiceClient
Instance Method Details
#create_app(app_title: nil, language_code: nil, developer_account: nil, apk_path: nil) ⇒ Object
157 158 159 160 161 162 163 164 165 166 167 |
# File 'fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb', line 157 def create_app(app_title: nil, language_code: nil, developer_account: nil, apk_path: nil) custom_app = Google::Apis::PlaycustomappV1::CustomApp.new(title: app_title, language_code: language_code) call_google_api do client.create_account_custom_app( developer_account, custom_app, upload_source: apk_path ) end end |