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.
-
#expires_on ⇒ Object
Returns the value of attribute expires_on.
-
#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
Returns a new instance of SecretsManagerResponse.
515 516 517 518 519 520 521 522 523 |
# File 'lib/keeper_secrets_manager/dto.rb', line 515 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 @expires_on = attrs[:expires_on] end |
Instance Attribute Details
#app_data ⇒ Object
Returns the value of attribute app_data.
513 514 515 |
# File 'lib/keeper_secrets_manager/dto.rb', line 513 def app_data @app_data end |
#errors ⇒ Object
Returns the value of attribute errors.
513 514 515 |
# File 'lib/keeper_secrets_manager/dto.rb', line 513 def errors @errors end |
#expires_on ⇒ Object
Returns the value of attribute expires_on.
513 514 515 |
# File 'lib/keeper_secrets_manager/dto.rb', line 513 def expires_on @expires_on end |
#folders ⇒ Object
Returns the value of attribute folders.
513 514 515 |
# File 'lib/keeper_secrets_manager/dto.rb', line 513 def folders @folders end |
#just_bound ⇒ Object
Returns the value of attribute just_bound.
513 514 515 |
# File 'lib/keeper_secrets_manager/dto.rb', line 513 def just_bound @just_bound end |
#records ⇒ Object
Returns the value of attribute records.
513 514 515 |
# File 'lib/keeper_secrets_manager/dto.rb', line 513 def records @records end |
#warnings ⇒ Object
Returns the value of attribute warnings.
513 514 515 |
# File 'lib/keeper_secrets_manager/dto.rb', line 513 def warnings @warnings end |