Class: KeeperSecretsManager::Dto::SecretsManagerResponse
- Inherits:
-
Object
- Object
- KeeperSecretsManager::Dto::SecretsManagerResponse
- Defined in:
- lib/keeper_secrets_manager/dto.rb
Overview
Response wrapper
Instance Attribute Summary collapse
-
#app_data ⇒ Object
Returns the value of attribute app_data.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#folders ⇒ Object
Returns the value of attribute folders.
-
#just_bound ⇒ Object
Returns the value of attribute just_bound.
-
#records ⇒ Object
Returns the value of attribute records.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ SecretsManagerResponse
constructor
A new instance of SecretsManagerResponse.
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_data ⇒ Object
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 |
#errors ⇒ Object
Returns the value of attribute errors.
207 208 209 |
# File 'lib/keeper_secrets_manager/dto.rb', line 207 def errors @errors end |
#folders ⇒ Object
Returns the value of attribute folders.
207 208 209 |
# File 'lib/keeper_secrets_manager/dto.rb', line 207 def folders @folders end |
#just_bound ⇒ Object
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 |
#records ⇒ Object
Returns the value of attribute records.
207 208 209 |
# File 'lib/keeper_secrets_manager/dto.rb', line 207 def records @records end |
#warnings ⇒ Object
Returns the value of attribute warnings.
207 208 209 |
# File 'lib/keeper_secrets_manager/dto.rb', line 207 def warnings @warnings end |