Class: AwsMfaSecure::Clean

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_mfa_secure/clean.rb

Instance Method Summary collapse

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)
  @options = options
end

Instance Method Details

#runObject



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