lib/travis-custom-deploy/deployment.rb
def get_transfer(type)
      type = type[0].upcase + type[1..-1]
      try_require(type)
      Transfer.const_get(type).new(@options, @files) 
    end
def get_transfer(type)
      type = type[0].upcase + type[1..-1]
      try_require(type)
      Transfer.const_get(type).new(@options, @files) 
    end
def get_transfer ( type ) type = type [ 0 ] . upcase + type [ 1 .. - 1 ] try_require ( type ) Transfer . const_get ( type ) . new ( @options , @files ) end
Creates an instance for the transfer type and return it

 type - the transfer type like sftp, ftp, etc.
Creates an instance for the transfer type and return it