Class: CloudManager::Configuration::Service::AbstractService Abstract
- Inherits:
-
Object
- Object
- CloudManager::Configuration::Service::AbstractService
- Defined in:
- lib/cloud_manager/configuration/service/abstract_service.rb
Overview
This class is abstract.
Subclass and override #manage to implement a custom Service class.
Instance Attribute Summary collapse
-
#base_configuration ⇒ Object
Returns the value of attribute base_configuration.
Instance Method Summary collapse
-
#initialize(base_configuration) ⇒ AbstractService
constructor
A new instance of AbstractService.
-
#manage ⇒ void
Start the management of this service.
Constructor Details
#initialize(base_configuration) ⇒ AbstractService
13 14 15 |
# File 'lib/cloud_manager/configuration/service/abstract_service.rb', line 13 def initialize(base_configuration) @base_configuration = base_configuration end |
Instance Attribute Details
#base_configuration ⇒ Object
Returns the value of attribute base_configuration.
8 9 10 |
# File 'lib/cloud_manager/configuration/service/abstract_service.rb', line 8 def base_configuration @base_configuration end |
Instance Method Details
#manage ⇒ void
This method returns an undefined value.
Start the management of this service.
19 20 21 |
# File 'lib/cloud_manager/configuration/service/abstract_service.rb', line 19 def manage raise NotImplementedError end |