class Fastlane::Actions::RollbarDsymUploadAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/rollbar/actions/rollbar_dsym_upload_action.rb, line 36 def self.available_options [ FastlaneCore::ConfigItem.new(key: :api_key, description: 'Rollbar API key', optional: false, type: String), FastlaneCore::ConfigItem.new(key: :dsym_path, description: 'Dsym path', optional: false, type: String), FastlaneCore::ConfigItem.new(key: :code_version, description: 'Code version', optional: false, type: String), FastlaneCore::ConfigItem.new(key: :bundle_identifier, description: 'Bundle identifier', optional: false, type: String), FastlaneCore::ConfigItem.new(key: :environment, description: 'Environment', optional: false, type: String), ] end
description()
click to toggle source
# File lib/fastlane/plugin/rollbar/actions/rollbar_dsym_upload_action.rb, line 19 def self.description 'Helps to upload Dsym to Rollbar' end
details()
click to toggle source
# File lib/fastlane/plugin/rollbar/actions/rollbar_dsym_upload_action.rb, line 31 def self.details # Optional: 'Helps to upload Dsym to Rollbar' end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/rollbar/actions/rollbar_dsym_upload_action.rb, line 46 def self.is_supported?(platform) # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example) # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform # %i[ios android].include?(platform) true end
return_value()
click to toggle source
# File lib/fastlane/plugin/rollbar/actions/rollbar_dsym_upload_action.rb, line 27 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/rollbar/actions/rollbar_dsym_upload_action.rb, line 9 def self.run(params) Helper::RollbarHelper.upload_dsym( params[:api_key], params[:dsym_path], params[:code_version], params[:bundle_identifier], params[:environment], ) end