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

Version Path
flydata-0.8.10.2 lib/flydata/source/data_entry.rb
flydata-0.8.10.1 lib/flydata/source/data_entry.rb
flydata-0.8.9.11 lib/flydata/source/data_entry.rb
flydata-0.8.10 lib/flydata/source/data_entry.rb
flydata-0.8.9 lib/flydata/source/data_entry.rb
flydata-0.8.8 lib/flydata/source/data_entry.rb
flydata-0.8.7 lib/flydata/source/data_entry.rb
flydata-0.8.6 lib/flydata/source/data_entry.rb
flydata-0.8.5 lib/flydata/source/data_entry.rb
flydata-0.8.4 lib/flydata/source/data_entry.rb
flydata-0.8.3 lib/flydata/source/data_entry.rb
flydata-0.8.2 lib/flydata/source/data_entry.rb
flydata-0.8.1 lib/flydata/source/data_entry.rb
flydata-0.8.0 lib/flydata/source/data_entry.rb
flydata-0.7.19 lib/flydata/source/data_entry.rb
flydata-0.7.18 lib/flydata/source/data_entry.rb
flydata-0.7.17 lib/flydata/source/data_entry.rb
flydata-0.7.16 lib/flydata/source/data_entry.rb
flydata-0.7.15 lib/flydata/source/data_entry.rb
flydata-0.7.14 lib/flydata/source/data_entry.rb