Class: OpsManager::Appliance::Base
- Inherits:
-
Object
- Object
- OpsManager::Appliance::Base
- Defined in:
- lib/ops_manager/appliance/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #deploy_vm ⇒ Object
-
#initialize(config) ⇒ Base
constructor
A new instance of Base.
- #stop_current_vm(name) ⇒ Object
Constructor Details
#initialize(config) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/ops_manager/appliance/base.rb', line 7 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
5 6 7 |
# File 'lib/ops_manager/appliance/base.rb', line 5 def config @config end |
Instance Method Details
#deploy_vm ⇒ Object
10 11 12 |
# File 'lib/ops_manager/appliance/base.rb', line 10 def deploy_vm raise NotImplementedError.new("You must implement deploy_vm.") end |
#stop_current_vm(name) ⇒ Object
13 14 15 |
# File 'lib/ops_manager/appliance/base.rb', line 13 def stop_current_vm(name) raise NotImplementedError.new("You must implement stop_current_vm.") end |