Class: ForemanDlm::DlmlockEvent
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- ForemanDlm::DlmlockEvent
- Includes:
- Authorizable, Expirable
- Defined in:
- app/models/foreman_dlm/dlmlock_event.rb
Constant Summary collapse
- TYPES =
%w[release acquire enable disable fail].freeze
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.humanize_class_name ⇒ Object
9 10 11 |
# File 'app/models/foreman_dlm/dlmlock_event.rb', line 9 def self.humanize_class_name N_('Distributed Lock Event') end |
Instance Method Details
#humanized_type ⇒ Object
19 20 21 |
# File 'app/models/foreman_dlm/dlmlock_event.rb', line 19 def humanized_type _('Dlmlock Event') end |