class SDM::NodeUpdateResponse
NodeUpdateResponse
returns the fields of a Node after it has been updated by a NodeUpdateRequest.
Attributes
meta[RW]
Reserved for future use.
node[RW]
The updated Node.
rate_limit[RW]
Rate limit information.
Public Class Methods
new( meta:nil \ , node:nil \ , rate_limit:nil \ )
click to toggle source
# File lib/models/porcelain.rb, line 5579 def initialize( meta:nil \ , node:nil \ , rate_limit:nil \ ) if meta != nil @meta = meta end if node != nil @node = node 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 5596 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