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