Class: LaunchDarkly::Interfaces::DataSystem::Update
- Inherits:
-
Object
- Object
- LaunchDarkly::Interfaces::DataSystem::Update
- Defined in:
- lib/ldclient-rb/interfaces/data_system.rb
Overview
Update represents the results of a synchronizer's ongoing sync method.
This type is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is in early access. If you want access to this feature please join the EAP. https://launchdarkly.com/docs/sdk/features/data-saving-mode
Instance Attribute Summary collapse
-
#change_set ⇒ ChangeSet?
readonly
The change set.
-
#environment_id ⇒ String?
readonly
The environment ID.
-
#error ⇒ LaunchDarkly::Interfaces::DataSource::ErrorInfo?
readonly
Error information.
-
#revert_to_fdv1 ⇒ Boolean
readonly
Whether to revert to FDv1.
-
#state ⇒ Symbol
readonly
The data source state (LaunchDarkly::Interfaces::DataSource::Status).
Instance Method Summary collapse
-
#initialize(state:, change_set: nil, error: nil, revert_to_fdv1: false, environment_id: nil) ⇒ Update
constructor
A new instance of Update.
Constructor Details
#initialize(state:, change_set: nil, error: nil, revert_to_fdv1: false, environment_id: nil) ⇒ Update
Returns a new instance of Update.
575 576 577 578 579 580 581 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 575 def initialize(state:, change_set: nil, error: nil, revert_to_fdv1: false, environment_id: nil) @state = state @change_set = change_set @error = error @revert_to_fdv1 = revert_to_fdv1 @environment_id = environment_id end |
Instance Attribute Details
#change_set ⇒ ChangeSet? (readonly)
Returns The change set.
557 558 559 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 557 def change_set @change_set end |
#environment_id ⇒ String? (readonly)
Returns The environment ID.
566 567 568 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 566 def environment_id @environment_id end |
#error ⇒ LaunchDarkly::Interfaces::DataSource::ErrorInfo? (readonly)
Returns Error information.
560 561 562 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 560 def error @error end |
#revert_to_fdv1 ⇒ Boolean (readonly)
Returns Whether to revert to FDv1.
563 564 565 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 563 def revert_to_fdv1 @revert_to_fdv1 end |
#state ⇒ Symbol (readonly)
Returns The data source state (LaunchDarkly::Interfaces::DataSource::Status).
554 555 556 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 554 def state @state end |