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
11 12 13 |
# File 'app/models/foreman_dlm/dlmlock_event.rb', line 11 def self.humanize_class_name N_('Distributed Lock Event') end |
Instance Method Details
#humanized_type ⇒ Object
21 22 23 |
# File 'app/models/foreman_dlm/dlmlock_event.rb', line 21 def humanized_type _('Dlmlock Event') end |