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.
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.
231 232 233 234 235 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 231 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.
221 222 223 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 221 def changes @changes end |
#intent_code ⇒ String (readonly)
Returns The intent code (IntentCode).
218 219 220 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 218 def intent_code @intent_code end |
#selector ⇒ Selector? (readonly)
Returns The selector.
224 225 226 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 224 def selector @selector end |