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.
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( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |