Module: LaunchDarkly::Interfaces::DataSystem::Initializer

Defined in:
lib/ldclient-rb/interfaces/data_system.rb

Overview

Initializer represents a component capable of retrieving a single data result.

This type is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is not suitable for production usage.

Do not use it. You have been warned.

Instance Method Summary collapse

Instance Method Details

#fetch(selector_store) ⇒ LaunchDarkly::Result<Basis, String>

Retrieves the initial data set for the data source.

Parameters:

Returns:

Raises:

  • (NotImplementedError)


709
710
711
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 709

def fetch(selector_store)
  raise NotImplementedError, "#{self.class} must implement #fetch"
end

#nameString

Returns the name of the initializer.

Returns:

  • (String)

Raises:

  • (NotImplementedError)


699
700
701
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 699

def name
  raise NotImplementedError, "#{self.class} must implement #name"
end