Skip to content

Instantly share code, notes, and snippets.

@jsloyer
Created October 17, 2014 15:15
Show Gist options
  • Save jsloyer/9c4a19f79fc762ba8fa8 to your computer and use it in GitHub Desktop.
Save jsloyer/9c4a19f79fc762ba8fa8 to your computer and use it in GitHub Desktop.
public CloudantClient()
{
this.httpClient = null;
//TODO read env VCAP_SERVICES and parse it into JSON
this.port = Config.CLOUDANT_PORT;
this.host = "";
this.username = "";
this.password = "";
this.name = Config.CLOUDANT_NAME;
this.dbc = this.createDBConnector();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment