Class: Neetob::CLI::NeetoDeploy::AutoscalingConfig
- Defined in:
- lib/neetob/cli/neeto_deploy/autoscaling_config.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(app) ⇒ AutoscalingConfig
constructor
A new instance of AutoscalingConfig.
- #run ⇒ Object
Methods included from Utils
#camel_case_to_slug, #is_upper?, #symbolize_keys
Constructor Details
#initialize(app) ⇒ AutoscalingConfig
Returns a new instance of AutoscalingConfig.
9 10 11 12 |
# File 'lib/neetob/cli/neeto_deploy/autoscaling_config.rb', line 9 def initialize(app) super() @app = app end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
7 8 9 |
# File 'lib/neetob/cli/neeto_deploy/autoscaling_config.rb', line 7 def app @app end |
Instance Method Details
#run ⇒ Object
14 15 16 |
# File 'lib/neetob/cli/neeto_deploy/autoscaling_config.rb', line 14 def run ui.success(`neetodeploy autoscaling_config list -a #{app}`) end |