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.
13985 13986 13987 13988 13989 |
# File 'lib/models/porcelain.rb', line 13985 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
13983 13984 13985 |
# File 'lib/models/porcelain.rb', line 13983 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13991 13992 13993 13994 13995 13996 13997 |
# File 'lib/models/porcelain.rb', line 13991 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 |