Class: KeeperSecretsManager::Dto::UpdateOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/keeper_secrets_manager/dto.rb

Overview

Update options

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transaction_type: 'general', links_to_remove: nil) ⇒ UpdateOptions

Returns a new instance of UpdateOptions.



551
552
553
554
# File 'lib/keeper_secrets_manager/dto.rb', line 551

def initialize(transaction_type: 'general', links_to_remove: nil)
  @transaction_type = transaction_type
  @links_to_remove = links_to_remove || []
end

Instance Attribute Details

Returns the value of attribute links_to_remove.



549
550
551
# File 'lib/keeper_secrets_manager/dto.rb', line 549

def links_to_remove
  @links_to_remove
end

#transaction_typeObject

Returns the value of attribute transaction_type.



549
550
551
# File 'lib/keeper_secrets_manager/dto.rb', line 549

def transaction_type
  @transaction_type
end