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 in early access. If you want access to this feature please join the EAP. launchdarkly.com/docs/sdk/features/data-saving-mode

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



255
256
257
258
259
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 255

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



245
246
247
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 245

def changes
  @changes
end

#intent_codeString (readonly)

Returns The intent code (IntentCode).

Returns:



242
243
244
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 242

def intent_code
  @intent_code
end

#selectorSelector? (readonly)

Returns The selector.

Returns:



248
249
250
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 248

def selector
  @selector
end