Class: SDM::GetResponseMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

GetResponseMetadata is reserved for future use.

Instance Method Summary collapse

Constructor Details

#initializeGetResponseMetadata

Returns a new instance of GetResponseMetadata.



5402
5403
# File 'lib/models/porcelain.rb', line 5402

def initialize()
end

Instance Method Details

#to_json(options = {}) ⇒ Object



5405
5406
5407
5408
5409
5410
5411
# File 'lib/models/porcelain.rb', line 5405

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