Sha256: 6dca3666e38ff751e93344f8331ef3271a964da9b7a2df9a521c73d7d161bbf2

Contents?: true

Size: 513 Bytes

Versions: 45

Compression:

Stored size: 513 Bytes

Contents

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

    def self.humanized_name
      'purpose_role'
    end

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

    def to_status(options = {})
      Katello::PurposeStatus.to_status(self, :role_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_role_status.rb
katello-3.16.1.2 app/models/katello/purpose_role_status.rb
katello-3.16.1.1 app/models/katello/purpose_role_status.rb
katello-3.16.1 app/models/katello/purpose_role_status.rb
katello-3.16.0 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc5.1 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc5 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc4.1 app/models/katello/purpose_role_status.rb
katello-3.15.3.1 app/models/katello/purpose_role_status.rb
katello-3.15.3 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc4 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc3.1 app/models/katello/purpose_role_status.rb
katello-3.15.2 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc3 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc2.1 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc2 app/models/katello/purpose_role_status.rb
katello-3.15.1.1 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc1.1 app/models/katello/purpose_role_status.rb
katello-3.15.1 app/models/katello/purpose_role_status.rb
katello-3.16.0.rc1 app/models/katello/purpose_role_status.rb