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.
16697 16698 16699 16700 16701 |
# File 'lib/models/porcelain.rb', line 16697 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
16695 16696 16697 |
# File 'lib/models/porcelain.rb', line 16695 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
16703 16704 16705 16706 16707 16708 16709 |
# File 'lib/models/porcelain.rb', line 16703 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 |