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.



3318
3319
# File 'lib/models/porcelain.rb', line 3318

def initialize()
end

Instance Method Details

#to_json(options = {}) ⇒ Object



3321
3322
3323
3324
3325
3326
3327
# File 'lib/models/porcelain.rb', line 3321

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