Sha256: a78b38273c8f8f7f00a7f7ef6b435358bb8bbcdb83adc6c083ff0737ded8f30d

Contents?: true

Size: 565 Bytes

Versions: 65

Compression:

Stored size: 565 Bytes

Contents

module Katello
  class PurposeSlaStatus < HostStatus::Status
    UNKNOWN = Katello::PurposeStatus::UNKNOWN
    def self.status_name
      N_('Service Level')
    end

    def self.humanized_name
      'purpose_sla'
    end

    def to_label(_options = {})
      Katello::PurposeStatus.to_label(status)
    end

    def to_status(options = {})
      Katello::PurposeStatus.to_status(self, :sla_status, options)
    end

    def relevant?(_options = {})
      host.subscription_facet.try(:uuid)
    end

    def substatus?(_options = {})
      true
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
katello-4.4.2.2 app/models/katello/purpose_sla_status.rb
katello-4.4.2.1 app/models/katello/purpose_sla_status.rb
katello-4.4.2 app/models/katello/purpose_sla_status.rb
katello-4.4.1 app/models/katello/purpose_sla_status.rb
katello-4.4.0.2 app/models/katello/purpose_sla_status.rb
katello-4.4.0.1 app/models/katello/purpose_sla_status.rb
katello-4.3.1 app/models/katello/purpose_sla_status.rb
katello-4.4.0 app/models/katello/purpose_sla_status.rb
katello-4.4.0.rc2 app/models/katello/purpose_sla_status.rb
katello-4.4.0.rc1 app/models/katello/purpose_sla_status.rb
katello-4.2.2 app/models/katello/purpose_sla_status.rb
katello-4.3.0 app/models/katello/purpose_sla_status.rb
katello-4.3.0.rc4 app/models/katello/purpose_sla_status.rb
katello-4.3.0.rc3 app/models/katello/purpose_sla_status.rb
katello-4.3.0.rc2.1 app/models/katello/purpose_sla_status.rb
katello-4.3.0.rc2 app/models/katello/purpose_sla_status.rb
katello-4.3.0.rc1 app/models/katello/purpose_sla_status.rb
katello-4.2.1 app/models/katello/purpose_sla_status.rb
katello-4.2.0.1 app/models/katello/purpose_sla_status.rb
katello-4.1.4 app/models/katello/purpose_sla_status.rb