Class: Vpsb::Resources::DeploySshKeys
- Inherits:
-
BaseAskResource
- Object
- BaseResource
- BaseAskResource
- Vpsb::Resources::DeploySshKeys
- Defined in:
- lib/vpsb/resources/deploy_ssh_keys.rb
Instance Method Summary collapse
-
#call(core) ⇒ Object
TODO ask for ssh_keys from .ssh question ‘Enter ssh_keys(id_rsa.pub) for deploy (example: ssh-rsa AA… , ssh-rsa AB…)’.
Methods inherited from BaseAskResource
default, #default, #question, question
Methods included from AskSupport
#ask, #ask_loop, #ask_to_confirm
Instance Method Details
#call(core) ⇒ Object
TODO ask for ssh_keys from .ssh question ‘Enter ssh_keys(id_rsa.pub) for deploy (example: ssh-rsa AA… , ssh-rsa AB…)’
8 9 10 |
# File 'lib/vpsb/resources/deploy_ssh_keys.rb', line 8 def call(core) [core.get(:ssh_helper).pub_key(core.get(:do_ssh_path))] end |