class FastlaneCore::ActionCompletionContext

Attributes

action_name[RW]
fastlane_client_language[RW]
p_hash[RW]
status[RW]

Public Class Methods

context_for_action_name(action_name, fastlane_client_language: :ruby, args: nil, status: nil) click to toggle source
# File fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb, line 24
def self.context_for_action_name(action_name, fastlane_client_language: :ruby, args: nil, status: nil)
  app_id_guesser = FastlaneCore::AppIdentifierGuesser.new(args: args)
  return self.new(
    action_name: action_name,
    p_hash: app_id_guesser.p_hash,
    status: status,
    fastlane_client_language: fastlane_client_language
  )
end
new(p_hash: nil, action_name: nil, status: nil, fastlane_client_language: nil) click to toggle source
# File fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb, line 17
def initialize(p_hash: nil, action_name: nil, status: nil, fastlane_client_language: nil)
  @p_hash = p_hash
  @action_name = action_name
  @status = status
  @fastlane_client_language = fastlane_client_language
end