Class: LaunchDarkly::Interfaces::DataSystem::Basis
- Inherits:
-
Object
- Object
- LaunchDarkly::Interfaces::DataSystem::Basis
- Defined in:
- lib/ldclient-rb/interfaces/data_system.rb
Overview
Basis represents the initial payload of data that a data source can provide.
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.
-
#persist ⇒ Boolean
readonly
Whether to persist.
Instance Method Summary collapse
-
#initialize(change_set:, persist:, environment_id: nil) ⇒ Basis
constructor
A new instance of Basis.
Constructor Details
#initialize(change_set:, persist:, environment_id: nil) ⇒ Basis
Returns a new instance of Basis.
283 284 285 286 287 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 283 def initialize(change_set:, persist:, environment_id: nil) @change_set = change_set @persist = persist @environment_id = environment_id end |
Instance Attribute Details
#change_set ⇒ ChangeSet (readonly)
Returns The change set.
270 271 272 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 270 def change_set @change_set end |
#environment_id ⇒ String? (readonly)
Returns The environment ID.
276 277 278 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 276 def environment_id @environment_id end |
#persist ⇒ Boolean (readonly)
Returns Whether to persist.
273 274 275 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 273 def persist @persist end |