class Fastlane::Actions::SharedValues::LaneContextValues

A slightly decorated hash that will store and fetch sensitive data but not display it while iterating keys and values

Public Class Methods

new() click to toggle source
# File fastlane/lib/fastlane/actions/actions_helper.rb, line 11
def initialize
  @sensitive_context = {}
end

Public Instance Methods

[](key) click to toggle source
Calls superclass method
# File fastlane/lib/fastlane/actions/actions_helper.rb, line 19
def [](key)
  if @sensitive_context.key?(key)
    return @sensitive_context[key]
  end
  super
end
set_sensitive(key, value) click to toggle source
# File fastlane/lib/fastlane/actions/actions_helper.rb, line 15
def set_sensitive(key, value)
  @sensitive_context[key] = value
end