Class: Inspec::Resources::PodmanNetworkFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/inspec/resources/podman.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#networksObject (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_idObject



291
292
293
# File 'lib/inspec/resources/podman.rb', line 291

def resource_id
  "Podman Networks"
end

#to_sObject



287
288
289
# File 'lib/inspec/resources/podman.rb', line 287

def to_s
  "Podman Networks"
end