lib/vcloud/core/edge_gateway.rb
def interfaces
        gateway_config = vcloud_attributes[:Configuration]
        return [] unless gateway_config[:GatewayInterfaces]
        gateway_interfaces = gateway_config[:GatewayInterfaces][:GatewayInterface]
        return [] unless gateway_interfaces
        gateway_interfaces.map do |vcloud_gateway_interface_hash|
          EdgeGatewayInterface.new(vcloud_gateway_interface_hash)
        end
      end
# For each GatewayInterfaces item in the configuration, create an
# EdgeGatewayInterface object to allow decisions based on the connected
# networks to be taken without inspecting the API details.
#
# @return [Array] An array of Vcloud::Core::EdgeGatewayInterface objects
For each GatewayInterfaces item in the configuration, create an
EdgeGatewayInterface object to allow decisions based on the connected
networks to be taken without inspecting the API details.
For each GatewayInterfaces item in the configuration create an EdgeGatewayInterface object to allow decisions based on the connected networks to be taken without inspecting the API details .
def interfaces
        gateway_config = vcloud_attributes[:Configuration]
        return [] unless gateway_config[:GatewayInterfaces]
        gateway_interfaces = gateway_config[:GatewayInterfaces][:GatewayInterface]
        return [] unless gateway_interfaces
        gateway_interfaces.map do |vcloud_gateway_interface_hash|
          EdgeGatewayInterface.new(vcloud_gateway_interface_hash)
        end
      end
def interfaces gateway_config = vcloud_attributes [ :Configuration ] return [ ] unless gateway_config [ :GatewayInterfaces ] gateway_interfaces = gateway_config [ :GatewayInterfaces ] [ :GatewayInterface ] return [ ] unless gateway_interfaces gateway_interfaces . map do | vcloud_gateway_interface_hash | EdgeGatewayInterface . new ( vcloud_gateway_interface_hash ) end end
For each GatewayInterfaces item in the configuration, create an
EdgeGatewayInterface object to allow decisions based on the connected
networks to be taken without inspecting the API details.
For each GatewayInterfaces item in the configuration create an EdgeGatewayInterface object to allow decisions based on the connected networks to be taken without inspecting the API details .
An array of Vcloud::Core::EdgeGatewayInterface objects
An array of Vcloud :: Core :: EdgeGatewayInterface objects
Array