Class: KeeperSecretsManager::Dto::SecretsManagerResponse

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

Overview

Response wrapper

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ SecretsManagerResponse



209
210
211
212
213
214
215
216
# File 'lib/keeper_secrets_manager/dto.rb', line 209

def initialize(attrs = {})
  @records = attrs[:records] || []
  @folders = attrs[:folders] || []
  @app_data = attrs[:app_data] || {}
  @warnings = attrs[:warnings] || []
  @errors = attrs[:errors] || []
  @just_bound = attrs[:just_bound] || false
end

Instance Attribute Details

#app_dataObject

Returns the value of attribute app_data.



207
208
209
# File 'lib/keeper_secrets_manager/dto.rb', line 207

def app_data
  @app_data
end

#errorsObject

Returns the value of attribute errors.



207
208
209
# File 'lib/keeper_secrets_manager/dto.rb', line 207

def errors
  @errors
end

#foldersObject

Returns the value of attribute folders.



207
208
209
# File 'lib/keeper_secrets_manager/dto.rb', line 207

def folders
  @folders
end

#just_boundObject

Returns the value of attribute just_bound.



207
208
209
# File 'lib/keeper_secrets_manager/dto.rb', line 207

def just_bound
  @just_bound
end

#recordsObject

Returns the value of attribute records.



207
208
209
# File 'lib/keeper_secrets_manager/dto.rb', line 207

def records
  @records
end

#warningsObject

Returns the value of attribute warnings.



207
208
209
# File 'lib/keeper_secrets_manager/dto.rb', line 207

def warnings
  @warnings
end