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
-
#read(key, context, default_stage, payload = nil) ⇒ LaunchDarkly::Migrations::OperationResult
Uses the provided flag key and context to execute a migration-backed read operation.
-
#write(key, context, default_stage, payload = nil) ⇒ LaunchDarkly::Migrations::WriteResult
Uses the provided flag key and context to execute a migration-backed write operation.
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.
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.
823 |
# File 'lib/ldclient-rb/interfaces.rb', line 823 def write(key, context, default_stage, payload = nil) end |