class Pod::Downloader::Scp

Constants

DEFAULT_PORT

Private Instance Methods

download_file(full_filename) click to toggle source
# File lib/cocoapods-downloader/scp.rb, line 13
def download_file(full_filename)
  scp! '-P', port, '-q', source, full_filename
end
port() click to toggle source
# File lib/cocoapods-downloader/scp.rb, line 21
def port
  uri.port || DEFAULT_PORT
end
source() click to toggle source
# File lib/cocoapods-downloader/scp.rb, line 17
def source
  "#{uri.user ? uri.user + '@' : ''}#{uri.host}:'#{uri.path}'"
end
uri() click to toggle source
# File lib/cocoapods-downloader/scp.rb, line 25
def uri
  @uri ||= URI.parse(url)
end