Module: MiGA::RemoteDataset::Download

Included in:
MiGA::RemoteDataset
Defined in:
lib/miga/remote_dataset/download.rb

Instance Method Summary collapse

Instance Method Details

#download(file) ⇒ Object

Download data into file



136
137
138
139
140
# File 'lib/miga/remote_dataset/download.rb', line 136

def download(file)
  format = self.class.UNIVERSE[universe][:dbs][db][:format]
  # MiGA::MiGA.DEBUG "download: #{universe}, #{db}, #{ids}, #{format}"
  self.class.download(universe, db, ids, format, file, [], self)
end