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 not suitable for production usage.
Do not use it. You have been warned.
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.
310 311 312 313 314 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 310 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.
297 298 299 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 297 def change_set @change_set end |
#environment_id ⇒ String? (readonly)
Returns The environment ID.
303 304 305 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 303 def environment_id @environment_id end |
#persist ⇒ Boolean (readonly)
Returns Whether to persist.
300 301 302 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 300 def persist @persist end |