Class: SDM::AccountDeleteResponse
- Inherits:
-
Object
- Object
- SDM::AccountDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
AccountDeleteResponse returns information about a Account that was deleted.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil) ⇒ AccountDeleteResponse
constructor
A new instance of AccountDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil) ⇒ AccountDeleteResponse
Returns a new instance of AccountDeleteResponse.
1353 1354 1355 1356 1357 1358 1359 |
# File 'lib/models/porcelain.rb', line 1353 def initialize( meta: nil, rate_limit: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
1349 1350 1351 |
# File 'lib/models/porcelain.rb', line 1349 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
1351 1352 1353 |
# File 'lib/models/porcelain.rb', line 1351 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1361 1362 1363 1364 1365 1366 1367 |
# File 'lib/models/porcelain.rb', line 1361 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 |