class SendWithUs {

    public SnippetReceipt updateSnippet(String snippetId, String name, String body) throws SendWithUsException {
        Map<String, Object> sendParams = new HashMap<String, Object>();
        sendParams.put("name", name);
        sendParams.put("body", body);
        
        String resource = String.format("snippets/%s", snippetId);
        String url = getURLEndpoint(resource);

        String response = makeURLRequest(url, "PUT", sendParams);

        Gson gson = new Gson();
        return gson.fromJson(response, SnippetReceipt.class);
    }

    public  SendWithUs(String apiKey);
    public  SendWithUs(String apiKey, SendWithUsApiLocation sendWithUsApiLocation);

}