Class: Bosh::OpenStackCloud::RedactedParams

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud/openstack/redacted_params.rb

Constant Summary collapse

REDACTED =
"[REDACTED]"

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ RedactedParams

Returns a new instance of RedactedParams.



5
6
7
8
9
# File 'lib/cloud/openstack/redacted_params.rb', line 5

def initialize(params)
  @params = params
  redact_authorization_params
  redact_password_params
end

Instance Method Details

#to_sObject



11
12
13
# File 'lib/cloud/openstack/redacted_params.rb', line 11

def to_s
  @params.inspect
end