lib/vcloud-rest/vcloud/vapp.rb
def get_vapp_by_name(organization, vdcName, vAppName)
      result = nil

      get_vdc_by_name(organization, vdcName)[:vapps].each do |vapp|
        if vapp[0].downcase == vAppName.downcase
          result = get_vapp(vapp[1])
        end
      end

      result
    end
def get_vapp_by_name(organization, vdcName, vAppName)
      result = nil

      get_vdc_by_name(organization, vdcName)[:vapps].each do |vapp|
        if vapp[0].downcase == vAppName.downcase
          result = get_vapp(vapp[1])
        end
      end

      result
    end
def get_vapp_by_name ( organization , vdcName , vAppName ) result = nil get_vdc_by_name ( organization , vdcName ) [ :vapps ] . each do | vapp | if vapp [ 0 ] . downcase == vAppName . downcase result = get_vapp ( vapp [ 1 ] ) end end result end
Friendly helper method to fetch a vApp by name
 - Organization object
 - Organization VDC Name
 - vApp name
Friendly helper method to fetch a vApp by name - Organization object - Organization VDC Name - vApp name