class PIM::InPlatformPublication

Public Instance Methods

as_json() click to toggle source
# File pim.rb, line 10333
def as_json

  json = original_as_json

  # Move direct publications for unknown attributes up in the json output
  if json.key?('unknownAttributes')
    unknown_attributes = json.delete('unknownAttributes')
    json['unknownAttributesDirectPublications'] = unknown_attributes['directPublications']
  end

  json
end
Also aliased as: original_as_json
original_as_json()
Alias for: as_json