Class: Inspec::Resources::PodmanNetworkFilter
- Inherits:
-
Object
- Object
- Inspec::Resources::PodmanNetworkFilter
- Defined in:
- lib/inspec/resources/podman.rb
Instance Attribute Summary collapse
-
#networks ⇒ Object
readonly
Returns the value of attribute networks.
Instance Method Summary collapse
-
#initialize(networks) ⇒ PodmanNetworkFilter
constructor
A new instance of PodmanNetworkFilter.
- #resource_id ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(networks) ⇒ PodmanNetworkFilter
Returns a new instance of PodmanNetworkFilter.
283 284 285 |
# File 'lib/inspec/resources/podman.rb', line 283 def initialize(networks) @networks = networks end |
Instance Attribute Details
#networks ⇒ Object (readonly)
Returns the value of attribute networks.
282 283 284 |
# File 'lib/inspec/resources/podman.rb', line 282 def networks @networks end |
Instance Method Details
#resource_id ⇒ Object
291 292 293 |
# File 'lib/inspec/resources/podman.rb', line 291 def resource_id "Podman Networks" end |
#to_s ⇒ Object
287 288 289 |
# File 'lib/inspec/resources/podman.rb', line 287 def to_s "Podman Networks" end |