Class: Thales::Pse::HSM

Inherits:
Object
  • Object
show all
Defined in:
lib/thales/pse/hsm.rb

Class Method Summary collapse

Class Method Details

.instance(eng = :cli) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/thales/pse/hsm.rb', line 10

def self.instance(eng = :cli)
  case eng
  when :cli
    h = HSM.new
    h.extend(Cli::HSM)
    h
  else
    h = HSM.new
    h.extend(Cli::HSM)
    h
  end
end