Sha256: c87136c040dd11c64fd1c22a959ef5d89b1e61776a4b4b19231d642fb3915259

Contents?: true

Size: 567 Bytes

Versions: 103

Compression:

Stored size: 567 Bytes

Contents

module Katello
  class PurposeAddonsStatus < HostStatus::Status
    UNKNOWN = Katello::PurposeStatus::UNKNOWN
    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

103 entries across 103 versions & 1 rubygems

Version Path
katello-4.7.4 app/models/katello/purpose_addons_status.rb
katello-4.8.0.rc1 app/models/katello/purpose_addons_status.rb
katello-4.7.3 app/models/katello/purpose_addons_status.rb
katello-4.7.2 app/models/katello/purpose_addons_status.rb
katello-4.7.1 app/models/katello/purpose_addons_status.rb
katello-4.6.2.1 app/models/katello/purpose_addons_status.rb
katello-4.6.2 app/models/katello/purpose_addons_status.rb
katello-4.7.0 app/models/katello/purpose_addons_status.rb
katello-4.6.1 app/models/katello/purpose_addons_status.rb
katello-4.7.0.rc2 app/models/katello/purpose_addons_status.rb
katello-4.7.0.rc1 app/models/katello/purpose_addons_status.rb
katello-4.4.2.2 app/models/katello/purpose_addons_status.rb
katello-4.4.2.1 app/models/katello/purpose_addons_status.rb
katello-4.4.2 app/models/katello/purpose_addons_status.rb
katello-4.5.1 app/models/katello/purpose_addons_status.rb
katello-4.6.0 app/models/katello/purpose_addons_status.rb
katello-4.6.0.rc2 app/models/katello/purpose_addons_status.rb
katello-4.6.0.rc1 app/models/katello/purpose_addons_status.rb
katello-4.5.0 app/models/katello/purpose_addons_status.rb
katello-4.5.0.rc2 app/models/katello/purpose_addons_status.rb