Class: ForemanExpireHosts::Action::Base
- Inherits:
-
Object
- Object
- ForemanExpireHosts::Action::Base
- Defined in:
- app/services/foreman_expire_hosts/action/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#failed_hosts ⇒ Object
Returns the value of attribute failed_hosts.
-
#successful_hosts ⇒ Object
Returns the value of attribute successful_hosts.
Instance Method Summary collapse
- #engage ⇒ Object
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'app/services/foreman_expire_hosts/action/base.rb', line 8 def initialize self.successful_hosts = [] self.failed_hosts = [] end |
Instance Attribute Details
#failed_hosts ⇒ Object
Returns the value of attribute failed_hosts.
6 7 8 |
# File 'app/services/foreman_expire_hosts/action/base.rb', line 6 def failed_hosts @failed_hosts end |
#successful_hosts ⇒ Object
Returns the value of attribute successful_hosts.
6 7 8 |
# File 'app/services/foreman_expire_hosts/action/base.rb', line 6 def successful_hosts @successful_hosts end |
Instance Method Details
#engage ⇒ Object
13 14 15 16 |
# File 'app/services/foreman_expire_hosts/action/base.rb', line 13 def engage process notify end |