Class: SDM::GetResponseMetadata
- Inherits:
-
Object
- Object
- SDM::GetResponseMetadata
- Defined in:
- lib/models/porcelain.rb
Overview
GetResponseMetadata is reserved for future use.
Instance Method Summary collapse
-
#initialize ⇒ GetResponseMetadata
constructor
A new instance of GetResponseMetadata.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize ⇒ GetResponseMetadata
Returns a new instance of GetResponseMetadata.
4258 4259 |
# File 'lib/models/porcelain.rb', line 4258 def initialize() end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4261 4262 4263 4264 4265 4266 4267 |
# File 'lib/models/porcelain.rb', line 4261 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 |