Sha256: f6431392ff1d91376768cbb6fe024e8505f21d0b1d22e15e6dd092b81c07b7ab

Contents?: true

Size: 166 Bytes

Versions: 18

Compression:

Stored size: 166 Bytes

Contents

module SafeLog

  # Filters api_key
  # @return [String]
  def mask_api_key(str)
    if use_api_key
      str = str.gsub(api_key,'[SECRET]')
    end
    str
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
logical_model-0.4.4 lib/safe_log.rb
logical_model-0.4.3 lib/safe_log.rb
logical_model-0.4.1 lib/safe_log.rb
logical_model-0.4.0 lib/safe_log.rb
logical_model-0.3.7 lib/safe_log.rb
logical_model-0.3.6 lib/safe_log.rb
logical_model-0.3.5 lib/safe_log.rb
logical_model-0.3.4 lib/safe_log.rb
logical_model-0.3.3 lib/safe_log.rb
logical_model-0.3.2 lib/safe_log.rb
logical_model-0.3.1 lib/safe_log.rb
logical_model-0.3.0 lib/safe_log.rb
logical_model-0.2.22 lib/safe_log.rb
logical_model-0.2.21 lib/safe_log.rb
logical_model-0.2.20 lib/safe_log.rb
logical_model-0.2.19 lib/safe_log.rb
logical_model-0.2.18 lib/safe_log.rb
logical_model-0.2.16 lib/safe_log.rb