class CybridApiId::ApiClient

def object_to_hash(obj)

Returns:
  • (String) - JSON string representation of the object

Parameters:
  • obj (Object) -- object to be converted into JSON string
def object_to_hash(obj)
  if obj.respond_to?(:to_hash)
    obj.to_hash
  else
    obj
  end
end