Class: ForemanExpireHosts::Notification::StoppedHosts
- Defined in:
- app/services/foreman_expire_hosts/notification/stopped_hosts.rb
Instance Attribute Summary collapse
-
#delete_date ⇒ Object
Returns the value of attribute delete_date.
Attributes inherited from Base
#all_hosts, #global_recipients
Instance Method Summary collapse
-
#initialize(opts) ⇒ StoppedHosts
constructor
A new instance of StoppedHosts.
Methods inherited from Base
Constructor Details
#initialize(opts) ⇒ StoppedHosts
Returns a new instance of StoppedHosts.
8 9 10 11 |
# File 'app/services/foreman_expire_hosts/notification/stopped_hosts.rb', line 8 def initialize(opts) super @delete_date = opts.fetch(:delete_date) end |
Instance Attribute Details
#delete_date ⇒ Object
Returns the value of attribute delete_date.
6 7 8 |
# File 'app/services/foreman_expire_hosts/notification/stopped_hosts.rb', line 6 def delete_date @delete_date end |