class Construqt::Firewalls::Firewall::Nat::NatEntry
Public Class Methods
new()
click to toggle source
# File lib/construqt/firewalls.rb, line 174 def initialize @from_is = nil end
Public Instance Methods
from_is(direction)
click to toggle source
# File lib/construqt/firewalls.rb, line 184 def from_is(direction) @from_is = direction self end
from_is_inbound?()
click to toggle source
# File lib/construqt/firewalls.rb, line 178 def from_is_inbound? @from_is == :inbound end
from_is_outbound?()
click to toggle source
# File lib/construqt/firewalls.rb, line 181 def from_is_outbound? @from_is == :outbound end