Module: Kiba::Extend::Sources::Lookupable
- Included in:
- CSV
- Defined in:
- lib/kiba/extend/sources/lookupable.rb
Overview
Mix-in module for extending sources so that they can be used (or not) as lookups in jobs
Instance Method Summary collapse
-
#is_lookupable? ⇒ Boolean
True.
-
#lookup_options_key ⇒ Object
abstract
Instance Method Details
#is_lookupable? ⇒ Boolean
Returns True.
12 13 14 |
# File 'lib/kiba/extend/sources/lookupable.rb', line 12 def is_lookupable? true end |
#lookup_options_key ⇒ Object
This method is abstract.
20 21 22 23 |
# File 'lib/kiba/extend/sources/lookupable.rb', line 20 def raise NotImplementedError, ":lookup_options_key must be defined in including class" end |