Sha256: 30f7dc3170099cbfeb9f32796cad00b0c7778697e38791b33b166973914e091b
Contents?: true
Size: 517 Bytes
Versions: 45
Compression:
Stored size: 517 Bytes
Contents
module Katello class PurposeUsageStatus < HostStatus::Status def self.status_name N_('Usage') end def self.humanized_name 'purpose_usage' end def to_label(_options = {}) Katello::PurposeStatus.to_label(status) end def to_status(options = {}) Katello::PurposeStatus.to_status(self, :usage_status, options) end def relevant?(_options = {}) host.subscription_facet.try(:uuid) end def substatus?(_options = {}) true end end end
Version data entries
45 entries across 45 versions & 1 rubygems