Class: CertClass

Inherits:
PortfolioClass show all
Defined in:
lib/arch_obj_models/certificate.rb

Overview

Holds information from certificate class YAML file. The inherited “data” member is the database of extensions, instructions, CSRs, etc.

Instance Method Summary collapse

Constructor Details

#initialize(data, arch_def) ⇒ CertClass

Returns a new instance of CertClass.

Parameters:

  • data (Hash<String, Object>)

    The data from YAML

  • arch_def (ArchDef)

    Architecture spec



15
16
17
# File 'lib/arch_obj_models/certificate.rb', line 15

def initialize(data, arch_def)
  super(data, arch_def)
end

Instance Method Details

#mandatory_priv_modesObject



19
# File 'lib/arch_obj_models/certificate.rb', line 19

def mandatory_priv_modes = @data["mandatory_priv_modes"]