Sha256: 379fa6e00851b3bb20388a9460590717cbe32c162b22448714e8715e788d9cf7

Contents?: true

Size: 521 Bytes

Versions: 45

Compression:

Stored size: 521 Bytes

Contents

module Katello
  class PurposeAddonsStatus < HostStatus::Status
    def self.status_name
      N_('Addons')
    end

    def self.humanized_name
      'purpose_addons'
    end

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

    def to_status(options = {})
      Katello::PurposeStatus.to_status(self, :addons_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

Version Path
katello-3.16.2 app/models/katello/purpose_addons_status.rb
katello-3.16.1.2 app/models/katello/purpose_addons_status.rb
katello-3.16.1.1 app/models/katello/purpose_addons_status.rb
katello-3.16.1 app/models/katello/purpose_addons_status.rb
katello-3.16.0 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc5.1 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc5 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc4.1 app/models/katello/purpose_addons_status.rb
katello-3.15.3.1 app/models/katello/purpose_addons_status.rb
katello-3.15.3 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc4 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc3.1 app/models/katello/purpose_addons_status.rb
katello-3.15.2 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc3 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc2.1 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc2 app/models/katello/purpose_addons_status.rb
katello-3.15.1.1 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc1.1 app/models/katello/purpose_addons_status.rb
katello-3.15.1 app/models/katello/purpose_addons_status.rb
katello-3.16.0.rc1 app/models/katello/purpose_addons_status.rb