Method: Oddb2xml::EphaDownloader#download

Defined in:
lib/oddb2xml/downloader.rb

#downloadObject



138
139
140
141
142
143
144
# File 'lib/oddb2xml/downloader.rb', line 138

def download
  @url ||= 'https://download.epha.ch/cleaned/matrix.csv'
  file = 'epha_interactions.csv'
  content = download_as(file, 'w+')
  FileUtils.rm_f(file, :verbose => false)
  content
end