class Vcloud::EdgeGateway::GatewayIpsecVpnConfigurationDiffer
Public Instance Methods
strip_fields_for_differ_to_ignore(config)
click to toggle source
# File lib/vcloud/edge_gateway/gateway_ipsec_vpn_configuration_differ.rb, line 5 def strip_fields_for_differ_to_ignore(config) deep_cloned_config = Marshal.load( Marshal.dump(config) ) if deep_cloned_config.key?(:GatewayIpsecVpnService) deep_cloned_config[:GatewayIpsecVpnService].each do |vpn| vpn.delete(:Id) end end deep_cloned_config end