Class: Sowing::Strategies::AbstractStrategy
- Inherits:
-
Object
- Object
- Sowing::Strategies::AbstractStrategy
- Defined in:
- lib/sowing/strategies/abstract_strategy.rb
Direct Known Subclasses
Instance Method Summary collapse
- #create(klass, csv_filename) ⇒ Object
- #create_or_do_nothing(klass, csv_filename, finding_key) ⇒ Object
- #create_or_update(klass, csv_filename, finding_key) ⇒ Object
Instance Method Details
#create(klass, csv_filename) ⇒ Object
4 5 6 |
# File 'lib/sowing/strategies/abstract_strategy.rb', line 4 def create(klass, csv_filename) raise NotImplementedError end |
#create_or_do_nothing(klass, csv_filename, finding_key) ⇒ Object
8 9 10 |
# File 'lib/sowing/strategies/abstract_strategy.rb', line 8 def create_or_do_nothing(klass, csv_filename, finding_key) raise NotImplementedError end |
#create_or_update(klass, csv_filename, finding_key) ⇒ Object
12 13 14 |
# File 'lib/sowing/strategies/abstract_strategy.rb', line 12 def create_or_update(klass, csv_filename, finding_key) raise NotImplementedError end |