Class: Construqt::Ipsecs::Ipsec

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/construqt/ipsecs.rb

Instance Method Summary collapse

Constructor Details

#initialize(cfg) ⇒ Ipsec

Returns a new instance of Ipsec.



5
6
7
# File 'lib/construqt/ipsecs.rb', line 5

def initialize(cfg)
  super(cfg)
end

Instance Method Details

#build_configObject



9
10
11
12
# File 'lib/construqt/ipsecs.rb', line 9

def build_config()
  self.left.build_config(nil, nil)
  self.right.build_config(nil, nil)
end

#identObject



14
15
16
# File 'lib/construqt/ipsecs.rb', line 14

def ident
  self.left.ident
end