Class: SDM::CreateResponseMetadata
- Inherits:
-
Object
- Object
- SDM::CreateResponseMetadata
- Defined in:
- lib/models/porcelain.rb
Overview
CreateResponseMetadata is reserved for future use.
Instance Method Summary collapse
-
#initialize ⇒ CreateResponseMetadata
constructor
A new instance of CreateResponseMetadata.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize ⇒ CreateResponseMetadata
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( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |