Class: VagrantPlugins::GitCredentials::Action::RemoveKey

Inherits:
Object
  • Object
show all
Includes:
Util
Defined in:
lib/vagrant-gitcredentials/Action/RemoveKey.rb

Instance Method Summary collapse

Methods included from Util

#createKey, #deleteKey, #promptCredentials

Constructor Details

#initialize(app, env) ⇒ RemoveKey

Returns a new instance of RemoveKey.



8
9
10
11
12
# File 'lib/vagrant-gitcredentials/Action/RemoveKey.rb', line 8

def initialize(app, env)
	@app = app
	@ui = env[:ui]
	@machine = env[:machine]
end

Instance Method Details

#call(env) ⇒ Object



14
15
16
17
# File 'lib/vagrant-gitcredentials/Action/RemoveKey.rb', line 14

def call(env)
	deleteKey()
	@app.call(env)
end