Class: SDM::RoleGrantDeleteResponse
- Inherits:
-
Object
- Object
- SDM::RoleGrantDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RoleGrantDeleteResponse returns information about a RoleGrant that was deleted.
Deprecated: use Role access rules instead.
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) ⇒ RoleGrantDeleteResponse
constructor
A new instance of RoleGrantDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil) ⇒ RoleGrantDeleteResponse
Returns a new instance of RoleGrantDeleteResponse.
5340 5341 5342 5343 5344 5345 5346 |
# File 'lib/models/porcelain.rb', line 5340 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.
5336 5337 5338 |
# File 'lib/models/porcelain.rb', line 5336 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5338 5339 5340 |
# File 'lib/models/porcelain.rb', line 5338 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5348 5349 5350 5351 5352 5353 5354 |
# File 'lib/models/porcelain.rb', line 5348 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 |