class SDM::AccountGrantCreateResponse
AccountGrantCreateResponse
reports how the AccountGrants
were created in the system.
Attributes
account_grant[RW]
The created AccountGrant
.
meta[RW]
Reserved for future use.
rate_limit[RW]
Rate limit information.
Public Class Methods
new( meta:nil \ , account_grant:nil \ , rate_limit:nil \ )
click to toggle source
# File lib/models/porcelain.rb, line 247 def initialize( meta:nil \ , account_grant:nil \ , rate_limit:nil \ ) if meta != nil @meta = meta end if account_grant != nil @account_grant = account_grant end if rate_limit != nil @rate_limit = rate_limit end end
Public Instance Methods
to_json(options={})
click to toggle source
# File lib/models/porcelain.rb, line 264 def to_json(options={}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix('@')] = self.instance_variable_get var end hash.to_json end