Class: Oddb2xml::WeledaDownloader

Inherits:
Downloader show all
Includes:
DownloadMethod
Defined in:
lib/oddb2xml/downloader.rb

Overview

Weleda “Kapitel 70” article list (GTIN, Abgabekategorie/SL flag, Pharma-Gruppen-Code). See Oddb2xml::WeledaSL.

Instance Attribute Summary

Attributes inherited from Downloader

#agent, #file2save, #type, #url

Instance Method Summary collapse

Methods inherited from Downloader

#init, #initialize, #report_download

Constructor Details

This class inherits a constructor from Oddb2xml::Downloader

Instance Method Details

#downloadObject



174
175
176
177
# File 'lib/oddb2xml/downloader.rb', line 174

def download
  @url ||= "https://raw.githubusercontent.com/zdavatz/oddb2xml_files/master/weleda_arzneimittel.csv"
  download_as("weleda_arzneimittel.csv", "w+")
end