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.



4252
4253
# File 'lib/models/porcelain.rb', line 4252

def initialize()
end

Instance Method Details

#to_json(options = {}) ⇒ Object



4255
4256
4257
4258
4259
4260
4261
# File 'lib/models/porcelain.rb', line 4255

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