Class: Vpsb::Resources::DoApiKey
- Inherits:
-
BaseResource
- Object
- BaseResource
- Vpsb::Resources::DoApiKey
- Includes:
- AskSupport
- Defined in:
- lib/vpsb/resources/do_api_key.rb
Instance Method Summary collapse
Methods included from AskSupport
#ask, #ask_loop, #ask_to_confirm
Instance Method Details
#call(core) ⇒ Object
7 8 9 10 11 |
# File 'lib/vpsb/resources/do_api_key.rb', line 7 def call(core) puts ask { puts 'Visit https://cloud.digitalocean.com/api_access and generate API access key. Press Enter when ready to continue' } ask_loop { puts 'What is your DigitalOcean api key?' } end |