def save_synonym(objectID, synonym, forward_to_replicas = false, request_options = {})
      client.put("#{Protocol.synonym_uri(name, objectID)}?forwardToReplicas=#{forward_to_replicas}", synonym.to_json, :write, request_options)
    end
def save_synonym(objectID, synonym, forward_to_replicas = false, request_options = {})
      client.put("#{Protocol.synonym_uri(name, objectID)}?forwardToReplicas=#{forward_to_replicas}", synonym.to_json, :write, request_options)
    end
Save a synonym

 @param objectID the synonym objectID
 @param synonym the synonym
 @param forward_to_replicas should we forward the delete to replica indices
 @param request_options contains extra parameters to send with your query