Method: Controlplane#profile_create
- Defined in:
- lib/core/controlplane.rb
#profile_create(profile, token) ⇒ Object
29 30 31 32 33 |
# File 'lib/core/controlplane.rb', line 29 def profile_create(profile, token) sensitive_data_pattern = /(?<=--token )(\S+)/ cmd = "cpln profile create #{profile} --token #{token}" perform!(cmd, sensitive_data_pattern: sensitive_data_pattern) end |