class Fastlane::Actions::DevicelabBotAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/devicelab_bot/actions/devicelab_bot_action.rb, line 19
def self.authors
  ["Almouro"]
end
available_options() click to toggle source
# File lib/fastlane/plugin/devicelab_bot/actions/devicelab_bot_action.rb, line 32
def self.available_options
  [
    FastlaneCore::ConfigItem.new(
      key: :base_url,
      env_name: "DEVICELAB_BOT_BASE_URL",
      description: "Base url for your devicelab bot",
      optional: false,
      type: String,
    ),
    FastlaneCore::ConfigItem.new(
      key: :app_name,
      env_name: "DEVICELAB_BOT_APP_NAME",
      description: "Base url for your devicelab bot",
      optional: false,
      type: String,
      default_value: ENV['IOS_APP_NAME'],
    ),
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/devicelab_bot/actions/devicelab_bot_action.rb, line 15
def self.description
  "Automatically install your app on your devicelab with the devicelab bot"
end
details() click to toggle source
# File lib/fastlane/plugin/devicelab_bot/actions/devicelab_bot_action.rb, line 27
def self.details
  # Optional:
  "Automatically install your app on your devicelab with the devicelab bot"
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/devicelab_bot/actions/devicelab_bot_action.rb, line 52
def self.is_supported?(platform)
  true
end
return_value() click to toggle source
# File lib/fastlane/plugin/devicelab_bot/actions/devicelab_bot_action.rb, line 23
def self.return_value
  # If your method provides a return value, you can describe here what it does
end
run(params) click to toggle source
# File lib/fastlane/plugin/devicelab_bot/actions/devicelab_bot_action.rb, line 8
def self.run(params)
  Helper::AppInstaller.new(
    params[:base_url],
    params[:app_name],
  ).install()
end