Module: Bipm::Data::Importer::CGPM
- Defined in:
- lib/bipm/data/importer/cgpm.rb
Overview
Backward-compatibility facade. The implementation lives in Bipm::Data::Importer::Strategies::StaticIndex; this module exists so that older code calling CGPM.run(agent, base_dir) keeps working.
New code should go through Bipm::Data::Importer.fetch(:cgpm).
Class Method Summary collapse
Class Method Details
.run(agent, base_dir) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/bipm/data/importer/cgpm.rb', line 12 def self.run(agent, base_dir) Strategies::StaticIndex.new( body: Bodies[:cgpm], base_dir: base_dir, ).call(agent: agent) end |