In progress commit
This commit is contained in:
parent
1d22da2bed
commit
bea1301475
19 changed files with 478 additions and 79 deletions
23
lib/Pear/LocalLoop/Import/LCCCsv.pm
Normal file
23
lib/Pear/LocalLoop/Import/LCCCsv.pm
Normal file
|
@ -0,0 +1,23 @@
|
|||
package Pear::LocalLoop::Import::LCCCsv;
|
||||
use Moo;
|
||||
use Pear::LocalLoop::Error;
|
||||
|
||||
with qw/
|
||||
Pear::LocalLoop::Import::Role::ExternalName
|
||||
Pear::LocalLoop::Import::Role::Schema
|
||||
Pear::LocalLoop::Import::Role::CSV
|
||||
/;
|
||||
|
||||
has external_name => (
|
||||
is => 'ro',
|
||||
default => 'LCC CSV',
|
||||
);
|
||||
|
||||
has csv_required_columns => (
|
||||
is => 'lazy',
|
||||
builder => sub {
|
||||
Pear::LocalLoop::ImplementationError->throw("Must be implemented by child class");
|
||||
},
|
||||
);
|
||||
|
||||
1;
|
Reference in a new issue