Class: SDM::SecretEngineRotateResponse
- Inherits:
-
Object
- Object
- SDM::SecretEngineRotateResponse
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ SecretEngineRotateResponse
constructor
A new instance of SecretEngineRotateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ SecretEngineRotateResponse
Returns a new instance of SecretEngineRotateResponse.
14246 14247 14248 14249 14250 |
# File 'lib/models/porcelain.rb', line 14246 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
14244 14245 14246 |
# File 'lib/models/porcelain.rb', line 14244 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
14252 14253 14254 14255 14256 14257 14258 |
# File 'lib/models/porcelain.rb', line 14252 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 |