Class: Pure::Extractor::Commands::PureExtractorCommand
- Inherits:
-
PureCommand
- Object
- Clamp::Command
- PureCommand
- Pure::Extractor::Commands::PureExtractorCommand
- Includes:
- Pure::Extractor::ConfigurePuree
- Defined in:
- lib/pure/extractor/commands/pure_extractor.rb
Instance Method Summary collapse
Methods included from Pure::Extractor::ConfigurePuree
Instance Method Details
#execute ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/pure/extractor/commands/pure_extractor.rb', line 27 def execute configure_puree server, username, password Pure::Extractor.extract pure_collections[extract], chunk_size, output_dir end |
#pure_collections ⇒ Object
23 24 25 |
# File 'lib/pure/extractor/commands/pure_extractor.rb', line 23 def pure_collections {organisation: :organisation, people: :person, projects: :project, publications: :publication, datasets: :dataset} end |