class Pod::Downloader::Http

Public Class Methods

options() click to toggle source
# File lib/cocoapods_plugin.rb, line 8
def self.options
  [:type, :flatten, :sha1, :sha256, :indexDownload]
end

Public Instance Methods

download_file(full_filename) click to toggle source
# File lib/cocoapods_plugin.rb, line 15
def download_file(full_filename)
  CodingArUtil.download(url, full_filename)
end
Also aliased as: orig_download_file
orig_download_file(full_filename)
Alias for: download_file
orig_should_flatten?()
Alias for: should_flatten?
should_flatten?() click to toggle source
# File lib/cocoapods_plugin.rb, line 19
def should_flatten?
  if options.key?(:indexDownload)
    true
  else
    orig_should_flatten?
  end
end
Also aliased as: orig_should_flatten?