def get_vdc_id_by_name(organization, vdcName)
      result = nil

      organization[:vdcs].each do |vdc|
        if vdc[0].downcase == vdcName.downcase
          result = vdc[1]
        end
      end

      result
    end
def get_vdc_id_by_name(organization, vdcName)
      result = nil

      organization[:vdcs].each do |vdc|
        if vdc[0].downcase == vdcName.downcase
          result = vdc[1]
        end
      end

      result
    end
def get_vdc_id_by_name ( organization , vdcName ) result = nil organization [ :vdcs ] . each do | vdc | if vdc [ 0 ] . downcase == vdcName . downcase result = vdc [ 1 ] end end result end
Friendly helper method to fetch a Organization VDC Id by name
 - Organization object
 - Organization VDC Name
Friendly helper method to fetch a Organization VDC Id by name - Organization object - Organization VDC Name