Class: Construqt::Flavour::Ubuntu::Vrrp::RouteService

Inherits:
Object
  • Object
show all
Defined in:
lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, rt) ⇒ RouteService



20
21
22
23
# File 'lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb', line 20

def initialize(name, rt)
  self.name = name
  self.rt = rt
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



19
20
21
# File 'lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb', line 19

def name
  @name
end

#rtObject

Returns the value of attribute rt.



19
20
21
# File 'lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb', line 19

def rt
  @rt
end