class SDM::ControlPanelVerifyJWTResponse
ControlPanelVerifyJWTResponse
reports whether x-sdm-token is valid.
Attributes
meta[RW]
Reserved for future use.
rate_limit[RW]
Rate limit information.
valid[RW]
Reports if the given token is valid.
Public Class Methods
new( meta:nil \ , rate_limit:nil \ , valid:nil \ )
click to toggle source
# File lib/models/porcelain.rb, line 2551 def initialize( meta:nil \ , rate_limit:nil \ , valid:nil \ ) if meta != nil @meta = meta end if rate_limit != nil @rate_limit = rate_limit end if valid != nil @valid = valid end end
Public Instance Methods
to_json(options={})
click to toggle source
# File lib/models/porcelain.rb, line 2568 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