Sha256: 700bb401765670330b2f7444b63b00f129ceb57e5ee356c736667e8ad1f03cb6
Contents?: true
Size: 446 Bytes
Versions: 17
Compression:
Stored size: 446 Bytes
Contents
module Vcloud module EdgeGateway class NatConfigurationDiffer < ConfigurationDiffer def strip_fields_for_differ_to_ignore(config) deep_cloned_config = Marshal.load( Marshal.dump(config) ) if deep_cloned_config.key?(:NatRule) deep_cloned_config[:NatRule].each do |nat_rule| nat_rule.delete(:Id) end end deep_cloned_config end end end end
Version data entries
17 entries across 17 versions & 1 rubygems