Class: Shipper::Deploy
- Inherits:
-
Object
- Object
- Shipper::Deploy
- Defined in:
- lib/shipper/deploy.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#specified_services ⇒ Object
readonly
Returns the value of attribute specified_services.
Instance Method Summary collapse
-
#initialize(config, specified_services = nil) ⇒ Deploy
constructor
A new instance of Deploy.
- #perform ⇒ Object
Constructor Details
#initialize(config, specified_services = nil) ⇒ Deploy
Returns a new instance of Deploy.
7 8 9 10 |
# File 'lib/shipper/deploy.rb', line 7 def initialize(config, specified_services = nil) @config = config @specified_services = specified_services end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
5 6 7 |
# File 'lib/shipper/deploy.rb', line 5 def config @config end |
#specified_services ⇒ Object (readonly)
Returns the value of attribute specified_services.
5 6 7 |
# File 'lib/shipper/deploy.rb', line 5 def specified_services @specified_services end |
Instance Method Details
#perform ⇒ Object
12 13 14 15 |
# File 'lib/shipper/deploy.rb', line 12 def perform ship_services! update_host! end |