class Oddb2xml::EphaDownloader

Public Instance Methods

download() click to toggle source
# File lib/oddb2xml/downloader.rb, line 152
def download
  @url ||= "https://raw.githubusercontent.com/zdavatz/oddb2xml_files/master/interactions_de_utf8.csv"
  file = "epha_interactions.csv"
  content = download_as(file, "w+")
  FileUtils.rm_f(file, verbose: true)
  content
end