class Construqt::Firewalls::Firewall::Raw::RawEntry
Public Class Methods
new()
click to toggle source
# File lib/construqt/firewalls.rb, line 117 def initialize @from_is = nil end
Public Instance Methods
from_is(direction)
click to toggle source
# File lib/construqt/firewalls.rb, line 127 def from_is(direction) @from_is = direction self end
from_is_inbound?()
click to toggle source
# File lib/construqt/firewalls.rb, line 121 def from_is_inbound? @from_is == :inbound end
from_is_outbound?()
click to toggle source
# File lib/construqt/firewalls.rb, line 124 def from_is_outbound? @from_is == :outbound end