Class: KeeperSecretsManager::Dto::UpdatePayload

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

Overview

Update record payload

Instance Attribute Summary collapse

Attributes inherited from BasePayload

#client_id, #client_version

Instance Method Summary collapse

Methods inherited from BasePayload

#to_h, #to_json

Constructor Details

#initializeUpdatePayload



62
63
64
65
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 62

def initialize
  super()
  @transaction_type = 'general'
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



60
61
62
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 60

def data
  @data
end

#record_uidObject

Returns the value of attribute record_uid.



60
61
62
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 60

def record_uid
  @record_uid
end

#revisionObject

Returns the value of attribute revision.



60
61
62
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 60

def revision
  @revision
end

#transaction_typeObject

Returns the value of attribute transaction_type.



60
61
62
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 60

def transaction_type
  @transaction_type
end