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.
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.
256 257 258 259 260 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 256 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.
243 244 245 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 243 def change_set @change_set end |
#environment_id ⇒ String? (readonly)
Returns The environment ID.
249 250 251 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 249 def environment_id @environment_id end |
#persist ⇒ Boolean (readonly)
Returns Whether to persist.
246 247 248 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 246 def persist @persist end |