Class: SDM::CreateResponseMetadata

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

Overview

CreateResponseMetadata is reserved for future use.

Instance Method Summary collapse

Constructor Details

#initializeCreateResponseMetadata

Returns a new instance of CreateResponseMetadata.



4261
4262
# File 'lib/models/porcelain.rb', line 4261

def initialize()
end

Instance Method Details

#to_json(options = {}) ⇒ Object



4264
4265
4266
4267
4268
4269
4270
# File 'lib/models/porcelain.rb', line 4264

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