lib/ews/soap/exchange_data_services.rb
def copy_folder(to_folder_id, *sources)
      req = build_soap! do |type, builder|
        if(type == :header)
        else
          builder.nbuild.CopyFolder {
            builder.nbuild.parent.default_namespace = @default_ns
            builder.to_folder_id!(to_folder_id)
            builder.folder_ids!(sources.flatten)
          }
        end
      end
      do_soap_request(req)
    end
def copy_folder(to_folder_id, *sources)
      req = build_soap! do |type, builder|
        if(type == :header)
        else
          builder.nbuild.CopyFolder {
            builder.nbuild.parent.default_namespace = @default_ns
            builder.to_folder_id!(to_folder_id)
            builder.folder_ids!(sources.flatten)
          }
        end
      end
      do_soap_request(req)
    end
def copy_folder ( to_folder_id , * sources ) req = build_soap! do | type , builder | if ( type == :header ) else builder . nbuild . CopyFolder { builder . nbuild . parent . default_namespace = @default_ns builder . to_folder_id! ( to_folder_id ) builder . folder_ids! ( sources . flatten ) } end end do_soap_request ( req ) end
Defines a request to copy folders in the Exchange store
 @see http://msdn.microsoft.com/en-us/library/aa563949.aspx
 @param [Hash] to_folder_id The target FolderId
   {:id => <myid>, :change_key => <optional ck>}
 @param [Array<Hash>] *sources The source Folders
   {:id => <myid>, :change_key => <optional_ck>},
   {:id => <myid2>, :change_key => <optional_ck>}
Defines a request to copy folders in the Exchange store