Class: SDM::SecretStoreHealthcheckResponse
- Inherits:
-
Object
- Object
- SDM::SecretStoreHealthcheckResponse
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ SecretStoreHealthcheckResponse
constructor
A new instance of SecretStoreHealthcheckResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ SecretStoreHealthcheckResponse
Returns a new instance of SecretStoreHealthcheckResponse.
11699 11700 11701 11702 11703 |
# File 'lib/models/porcelain.rb', line 11699 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
11697 11698 11699 |
# File 'lib/models/porcelain.rb', line 11697 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11705 11706 11707 11708 11709 11710 11711 |
# File 'lib/models/porcelain.rb', line 11705 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 |