Class: CredentialsOutputExecutor
- Inherits:
-
Object
- Object
- CredentialsOutputExecutor
- Defined in:
- lib/aws_mfa/credentials_output_executor.rb
Instance Method Summary collapse
Instance Method Details
#execute_output(execution_output, credentials) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/aws_mfa/credentials_output_executor.rb', line 2 def execute_output(execution_output, credentials) case execution_output when :set_env unset_environment export_credentials(credentials) when :quiet nil when :set_env_and_execute unset_environment export_credentials(credentials) execute_command_line_arguments when :print_env print_credentials(credentials) end end |