Class: Construqt::Firewalls::Firewall::Raw
- Inherits:
-
Object
- Object
- Construqt::Firewalls::Firewall::Raw
- Defined in:
- lib/construqt/firewalls.rb
Defined Under Namespace
Classes: RawEntry
Instance Attribute Summary collapse
-
#firewall ⇒ Object
readonly
Returns the value of attribute firewall.
Instance Method Summary collapse
- #add ⇒ Object
-
#initialize(firewall) ⇒ Raw
constructor
A new instance of Raw.
- #rules ⇒ Object
Constructor Details
#initialize(firewall) ⇒ Raw
Returns a new instance of Raw.
27 28 29 30 |
# File 'lib/construqt/firewalls.rb', line 27 def initialize(firewall) @firewall = firewall @rules = [] end |
Instance Attribute Details
#firewall ⇒ Object (readonly)
Returns the value of attribute firewall.
26 27 28 |
# File 'lib/construqt/firewalls.rb', line 26 def firewall @firewall end |