Class: Neetob::CLI::NeetoDeploy::AutoscalingConfig

Inherits:
Base
  • Object
show all
Defined in:
lib/neetob/cli/neeto_deploy/autoscaling_config.rb

Constant Summary

Constants inherited from Base

Base::NEETO_APPS_LIST_LINK

Instance Attribute Summary collapse

Attributes inherited from Base

#ui

Instance Method Summary collapse

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

#appObject

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

#runObject



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