class SDM::AccountCreateResponse
AccountCreateResponse
reports how the Accounts
were created in the system.
Attributes
account[RW]
The created Account.
meta[RW]
Reserved for future use.
rate_limit[RW]
Rate limit information.
token[RW]
The auth token generated for the Account. The Account will use this token to authenticate with the strongDM API.
Public Class Methods
new( meta:nil \ , account:nil \ , token:nil \ , rate_limit:nil \ )
click to toggle source
# File lib/models/porcelain.rb, line 411 def initialize( meta:nil \ , account:nil \ , token:nil \ , rate_limit:nil \ ) if meta != nil @meta = meta end if account != nil @account = account end if token != nil @token = token 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 433 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