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
9352 9353 9354 9355 9356 |
# File 'lib/models/porcelain.rb', line 9352 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
9350 9351 9352 |
# File 'lib/models/porcelain.rb', line 9350 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
9358 9359 9360 9361 9362 9363 9364 |
# File 'lib/models/porcelain.rb', line 9358 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 |