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.
17327 17328 17329 17330 17331 |
# File 'lib/models/porcelain.rb', line 17327 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
17325 17326 17327 |
# File 'lib/models/porcelain.rb', line 17325 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
17333 17334 17335 17336 17337 17338 17339 |
# File 'lib/models/porcelain.rb', line 17333 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 |