Class: KeeperSecretsManager::Dto::UpdateOptions
- Inherits:
-
Object
- Object
- KeeperSecretsManager::Dto::UpdateOptions
- Defined in:
- lib/keeper_secrets_manager/dto.rb
Overview
Update options
Instance Attribute Summary collapse
-
#links_to_remove ⇒ Object
Returns the value of attribute links_to_remove.
-
#transaction_type ⇒ Object
Returns the value of attribute transaction_type.
Instance Method Summary collapse
-
#initialize(transaction_type: 'general', links_to_remove: nil) ⇒ UpdateOptions
constructor
A new instance of UpdateOptions.
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
#links_to_remove ⇒ Object
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_type ⇒ Object
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 |