Class: CloudfoundryBlueGreenDeploy::App
- Inherits:
-
Object
- Object
- CloudfoundryBlueGreenDeploy::App
- Defined in:
- lib/cloudfoundry_blue_green_deploy/app.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(name:, state: 'stopped') ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize(name:, state: 'stopped') ⇒ App
Returns a new instance of App.
5 6 7 8 |
# File 'lib/cloudfoundry_blue_green_deploy/app.rb', line 5 def initialize(name: , state: 'stopped') @name = name @state = state end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/cloudfoundry_blue_green_deploy/app.rb', line 3 def name @name end |
#state ⇒ Object
Returns the value of attribute state.
3 4 5 |
# File 'lib/cloudfoundry_blue_green_deploy/app.rb', line 3 def state @state end |