class Fastlane::Actions::GsRejectLatestVersionAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb, line 15
def self.authors
  ["Сергей Веселовский"]
end
available_options() click to toggle source
# File lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb, line 28
def self.available_options
  [
      FastlaneCore::ConfigItem.new(key: :app_identifier,
                                   env_name: "BUNDLE_ID",
                                   description: "A description of your option",
                                   optional: false,
                                   type: String)
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb, line 11
def self.description
  "Gradoservice plugin to rule apps releases"
end
details() click to toggle source
# File lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb, line 23
def self.details
  # Optional:
  "Gradoservice plugin to rule apps releases for our scheme"
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb, line 38
def self.is_supported?(platform)
  # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
  # See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
  #
  # [:ios, :mac, :android].include?(platform)
  true
end
return_value() click to toggle source
# File lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb, line 19
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/gs_deliver/actions/gs_reject_latest_version.rb, line 5
def self.run(params)
  Spaceship::Tunes.login()
  app = Spaceship::Tunes::Application.find(params[:app_identifier])
  return app.latest_version().reject!
end