libraries/resource_providers/api200/logical_interconnect_provider.rb
# Recursive helper method to set hash values
Recursive helper method to set hash values
Recursive helper method to set hash values
def recursive_set(actual, updates)
        updates.each_pair do |k, v|
          if v.respond_to?(:each_pair) && actual[k].respond_to?(:each_pair)
            recursive_set(actual[k], v)
          else
            actual[k] = v
          end
        end
      end
def recursive_set ( actual , updates ) updates . each_pair do | k , v | if v . respond_to? ( :each_pair ) && actual [ k ] . respond_to? ( :each_pair ) recursive_set ( actual [ k ] , v ) else actual [ k ] = v end end end
Recursive helper method to set hash values
Recursive helper method to set hash values
actual
updates