Class: SDM::SecretEngineGetResponse
- Inherits:
-
Object
- Object
- SDM::SecretEngineGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
SecretEngineGetResponse contains information about requested Secret Engine
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#secret_engine ⇒ Object
The requested Secret Engine.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, secret_engine: nil) ⇒ SecretEngineGetResponse
constructor
A new instance of SecretEngineGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, secret_engine: nil) ⇒ SecretEngineGetResponse
Returns a new instance of SecretEngineGetResponse.
15042 15043 15044 15045 15046 15047 15048 15049 15050 |
# File 'lib/models/porcelain.rb', line 15042 def initialize( meta: nil, rate_limit: nil, secret_engine: nil ) = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit @secret_engine = secret_engine == nil ? nil : secret_engine end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
15036 15037 15038 |
# File 'lib/models/porcelain.rb', line 15036 def end |
#rate_limit ⇒ Object
Rate limit information.
15038 15039 15040 |
# File 'lib/models/porcelain.rb', line 15038 def rate_limit @rate_limit end |
#secret_engine ⇒ Object
The requested Secret Engine.
15040 15041 15042 |
# File 'lib/models/porcelain.rb', line 15040 def secret_engine @secret_engine end |
Instance Method Details
#to_json(options = {}) ⇒ Object
15052 15053 15054 15055 15056 15057 15058 |
# File 'lib/models/porcelain.rb', line 15052 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |