Class: VagrantPlugins::GitCredentials::Action::RemoveKey
- Inherits:
-
Object
- Object
- VagrantPlugins::GitCredentials::Action::RemoveKey
- Includes:
- Util
- Defined in:
- lib/vagrant-gitcredentials/Action/RemoveKey.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ RemoveKey
constructor
A new instance of RemoveKey.
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 |