Class: LaunchDarkly::Interfaces::DataSystem::ChangeSet
- Inherits:
-
Object
- Object
- LaunchDarkly::Interfaces::DataSystem::ChangeSet
- Defined in:
- lib/ldclient-rb/interfaces/data_system.rb
Overview
ChangeSet represents a list of changes to be applied.
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
-
#changes ⇒ Array<Change>
readonly
The changes.
-
#intent_code ⇒ String
readonly
The intent code (IntentCode).
-
#selector ⇒ Selector?
readonly
The selector.
Instance Method Summary collapse
-
#initialize(intent_code:, changes:, selector:) ⇒ ChangeSet
constructor
A new instance of ChangeSet.
Constructor Details
#initialize(intent_code:, changes:, selector:) ⇒ ChangeSet
Returns a new instance of ChangeSet.
279 280 281 282 283 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 279 def initialize(intent_code:, changes:, selector:) @intent_code = intent_code @changes = changes @selector = selector end |
Instance Attribute Details
#changes ⇒ Array<Change> (readonly)
Returns The changes.
269 270 271 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 269 def changes @changes end |
#intent_code ⇒ String (readonly)
Returns The intent code (IntentCode).
266 267 268 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 266 def intent_code @intent_code end |
#selector ⇒ Selector? (readonly)
Returns The selector.
272 273 274 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 272 def selector @selector end |