Module: LaunchDarkly::Interfaces::Migrations::Migrator
- Included in:
- LaunchDarkly::Impl::Migrations::Migrator
- Defined in:
- lib/ldclient-rb/interfaces/migrations.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.
| 22 | # File 'lib/ldclient-rb/interfaces/migrations.rb', line 22 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.
| 34 | # File 'lib/ldclient-rb/interfaces/migrations.rb', line 34 def write(key, context, default_stage, payload = nil) end |