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