Module: LaunchDarkly::Interfaces::Migrations::Migrator

Included in:
LaunchDarkly::Impl::Migrations::Migrator
Defined in:
lib/ldclient-rb/interfaces.rb

Overview

A migrator is the interface through which migration support is executed. A migrator is configured through the Migrations::MigratorBuilder class.

Instance Method Summary collapse

Instance Method Details

#read(key, context, default_stage, payload = nil) ⇒ LaunchDarkly::Migrations::OperationResult

Uses the provided flag key and context to execute a migration-backed read operation.

Parameters:

Returns:



811
# File 'lib/ldclient-rb/interfaces.rb', line 811

def read(key, context, default_stage, payload = nil) end

#write(key, context, default_stage, payload = nil) ⇒ LaunchDarkly::Migrations::WriteResult

Uses the provided flag key and context to execute a migration-backed write operation.

Parameters:

Returns:



823
# File 'lib/ldclient-rb/interfaces.rb', line 823

def write(key, context, default_stage, payload = nil) end