Class: Oddb2xml::BagSlGroupPricesDownloader

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

Overview

BAG SL Pharma-Gruppen-Code -> public price table, extracted from the BAG SL definition PDF “Homoeopathica, Anthroposophica, Allergene”. See 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



194
195
196
197
# File 'lib/oddb2xml/downloader.rb', line 194

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