Class: SDM::OrganizationTestMFAResponse
- Inherits:
-
Object
- Object
- SDM::OrganizationTestMFAResponse
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ OrganizationTestMFAResponse
constructor
A new instance of OrganizationTestMFAResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ OrganizationTestMFAResponse
Returns a new instance of OrganizationTestMFAResponse.
13212 13213 13214 13215 13216 |
# File 'lib/models/porcelain.rb', line 13212 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
13210 13211 13212 |
# File 'lib/models/porcelain.rb', line 13210 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13218 13219 13220 13221 13222 13223 13224 |
# File 'lib/models/porcelain.rb', line 13218 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 |