Class: AwsMfaSecure::Clean
- Inherits:
-
Object
- Object
- AwsMfaSecure::Clean
- Defined in:
- lib/aws_mfa_secure/clean.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Clean
constructor
A new instance of Clean.
- #run ⇒ Object
Constructor Details
#initialize(options) ⇒ Clean
Returns a new instance of Clean.
3 4 5 |
# File 'lib/aws_mfa_secure/clean.rb', line 3 def initialize() @options = end |
Instance Method Details
#run ⇒ Object
7 8 9 10 |
# File 'lib/aws_mfa_secure/clean.rb', line 7 def run FileUtils.rm_rf(SESSIONS_PATH) puts "Removed #{SESSIONS_PATH}" end |