Skip to content

Commit fc345dd

Browse files
author
Jared Pearson
committed
Remove extra spaces in README
1 parent 6e30934 commit fc345dd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.rdoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ the [authetication documentation on developer.pardot.com](https://developer.pard
1717
access_token = '<access_token>' # Retrieve an access token from Salesforce using OAuth
1818
business_unit_id = '<business_unit_id>' # Specify the Business Unit ID of the account to access
1919
client = Pardot::Client.new nil, nil, nil, version, access_token, business_unit_id
20-
20+
2121
Usage of the username, password, and API key authentication is deprecated and will be removed in an upcoming release.
22-
22+
2323
=== Object Types
2424

2525
The available objects are:
@@ -35,15 +35,15 @@ The available objects are:
3535
* visits
3636

3737
=== Querying Objects
38-
38+
3939
http://developer.pardot.com/kb/api-version-3/querying-prospects
40-
40+
4141
Most objects accept limit, offset, sort_by, and sord_order parameters
4242

4343
prospects = client.prospects.query(:assigned => false, :sort_by => "last_activity_at", :limit => 20)
44-
44+
4545
prospects["total_results"] # number of prospects found
46-
46+
4747
prospects["prospect"].each do |prospect|
4848
puts prospect["first_name"]
4949
end
@@ -55,11 +55,11 @@ See each individual object's API reference page for available methods
5555
http://developer.pardot.com/kb/api-version-3/using-prospects
5656

5757
prospect = client.prospects.create("[email protected]", :first_name => "John", :last_name => "Doe")
58-
58+
5959
prospect.each do |key, value|
6060
puts "#{key} is #{value}"
6161
end
62-
62+
6363
=== Emails
6464

6565
See each individual call's [API reference page](http://developer.pardot.com/kb/api-version-3/introduction-table-of-contents).
@@ -68,15 +68,15 @@ See each individual call's [API reference page](http://developer.pardot.com/kb/a
6868
@pardot.emails.read_by_id(email_id)
6969
@pardot.emails.send_to_list(:email_template_id => template_id, 'list_ids[]' => list_id, :campaign_id => campaign_id)
7070
@pardot.emails.send_to_prospect(prospect_id, :campaign_id => campaign_id, :email_template_id => template_id)
71-
71+
7272
=== Output formats
73-
73+
7474
client.format = "simple" # default
7575
client.format = "mobile"
7676
client.format = "full"
7777

7878
=== Error handling
79-
79+
8080
Pardot will respond with an error message when you provide invalid parameters
8181

8282
begin
@@ -86,7 +86,7 @@ Pardot will respond with an error message when you provide invalid parameters
8686
end
8787

8888
Performing API calls across the internet is inherently unsafe, so be sure to catch the exceptions
89-
89+
9090
begin
9191
visitor = client.visitors.query(:id_greater_than => 200)
9292
rescue Pardot::NetError => e

0 commit comments

Comments
 (0)