Sha256: ff3daf2e765482af8a0ab3aba325efbc9c0e74ec424168d7834bb20b82b9886c
Contents?: true
Size: 563 Bytes
Versions: 44
Compression:
Stored size: 563 Bytes
Contents
require 'flydata/source' require 'flydata/source/component' require 'flydata/source/errors' module Flydata module Source class DataEntry < Component def self.inherited(child_class) Source.register(child_class, self) end # Public Interface CONFIG_PARAMS # # Has the definition of data entry parameters specific to the data source. # Override CONFIG_PARAMS = { sourcename_data_entry_preference: { source_specific_param1: { key: "subclass must define" }, } } def config_params self.class::CONFIG_PARAMS end end end end
Version data entries
44 entries across 44 versions & 1 rubygems