Method: Controlplane#profile_switch

Defined in:
lib/core/controlplane.rb

#profile_switch(profile) ⇒ Object

profile



19
20
21
22
# File 'lib/core/controlplane.rb', line 19

def profile_switch(profile)
  ENV["CPLN_PROFILE"] = profile
  ControlplaneApiDirect.reset_api_token
end