Class: Travis::CLI::Setup::Cloud_66
- Defined in:
- lib/travis/cli/setup/cloud_66.rb
Instance Attribute Summary
Attributes inherited from Service
Instance Method Summary collapse
Methods inherited from Service
description, #initialize, known_as?, #method_missing, normalized_name, service_name
Constructor Details
This class inherits a constructor from Travis::CLI::Setup::Service
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Travis::CLI::Setup::Service
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/travis/cli/setup/cloud_66.rb', line 10 def run deploy 'cloud66', 'release' do |config| config['redeployment_hook'] ||= ask("Cloud 66 Redeployment Hook Url: ") { |q| q.echo = "*" }.to_s encrypt(config, 'redeployment_hook') if agree("Encrypt Redeployment Hook?") { |q| q.default = 'yes' } end end |