README.rdoc in databasedotcom-1.3.0 vs README.rdoc in databasedotcom-1.3.1
- old
+ new
@@ -83,9 +83,14 @@
client = Databasedotcom::Client.new
it will use the configuration information that you set with <tt>heroku config:add</tt>.
+=== Connect to a SalesForce sandbox account
+Specify the <tt>:host</tt> option when creating your Client, e.g,
+
+ Databasedotcom::Client.new :host => "test.salesforce.com", ...
+
== Authentication
The first thing you need to do with the new Client is to authenticate with Salesforce. You can do this in one of several ways:
=== Authentication via an externally-acquired OAuth access token
If you have acquired an OAuth access token for your Salesforce instance through some external means, you can use it. Note that you have to pass both the token and your Salesforce instance URL to the <tt>authenticate</tt> method:
\ No newline at end of file