Class: Construqt::Firewalls::Firewall::Raw::RawEntry
- Inherits:
-
Object
- Object
- Construqt::Firewalls::Firewall::Raw::RawEntry
show all
- Includes:
- Util::Chainable
- Defined in:
- lib/construqt/firewalls.rb
Instance Method Summary
collapse
chainable_attr, chainable_attr_value, included
Constructor Details
Returns a new instance of RawEntry.
45
46
47
|
# File 'lib/construqt/firewalls.rb', line 45
def initialize
@from_is = nil
end
|
Instance Method Details
#from_is(direction) ⇒ Object
55
56
57
|
# File 'lib/construqt/firewalls.rb', line 55
def from_is(direction)
@from_is = direction
end
|
#from_is_inbound? ⇒ Boolean
49
50
51
|
# File 'lib/construqt/firewalls.rb', line 49
def from_is_inbound?
@from_is == :inbound
end
|
#from_is_outbound? ⇒ Boolean
52
53
54
|
# File 'lib/construqt/firewalls.rb', line 52
def from_is_outbound?
@from_is == :outbound
end
|