Class: LaunchDarkly::Interfaces::DataSystem::ChangeSet

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(intent_code:, changes:, selector:) ⇒ ChangeSet

Returns a new instance of ChangeSet.

Parameters:

  • intent_code (String)

    The intent code (IntentCode)

  • changes (Array<Change>)

    The changes

  • selector (Selector, nil)

    The selector



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

#changesArray<Change> (readonly)

Returns The changes.

Returns:

  • (Array<Change>)

    The changes



269
270
271
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 269

def changes
  @changes
end

#intent_codeString (readonly)

Returns The intent code (IntentCode).

Returns:



266
267
268
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 266

def intent_code
  @intent_code
end

#selectorSelector? (readonly)

Returns The selector.

Returns:



272
273
274
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 272

def selector
  @selector
end