Skip to content

Commit

Permalink
Removing :ssl => false since Harvest released SSL to all accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoazeni committed Oct 14, 2010
1 parent 052ff34 commit 4f67622
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -8,7 +8,7 @@ This is a Ruby wrapper for the [Harvest API](http://www.getharvest.com/).

## Examples

harvest = Harvest.client('yoursubdomain', 'yourusername', 'yourpassword', :ssl => false) # you can enable SSL if your account supports it
harvest = Harvest.client('yoursubdomain', 'yourusername', 'yourpassword')
harvest.projects() # list out projects

client = Harvest::Client.new(:name => "Billable Company LTD.")
Expand All @@ -23,7 +23,7 @@ The guys at Harvest built a great API, but there are always dangers in writing c

Using `Harvested#client` your code needs to handle all these situations. However you can also use `Harvested#hardy_client` which will retry errors and wait for Rate Limit resets.

harvest = Harvest.hardy_client('yoursubdomain', 'yourusername', 'yourpassword', :ssl => false)
harvest = Harvest.hardy_client('yoursubdomain', 'yourusername', 'yourpassword')
harvest.projects() # This will wait for the Rate Limit reset if you have gone over your limit

## Links
Expand Down
2 changes: 1 addition & 1 deletion examples/basics.rb
Expand Up @@ -4,7 +4,7 @@
username = 'yourusername'
password = 'yourpassword'

harvest = Harvest.hardy_client(subdomain, username, password, :ssl => false)
harvest = Harvest.hardy_client(subdomain, username, password)

# Print out all users, clients, and projects on the account
puts "Users:"
Expand Down
2 changes: 1 addition & 1 deletion examples/clear_account.rb
Expand Up @@ -6,7 +6,7 @@
# username = 'yourusername'
# password = 'yourpassword'
#
# api = Harvest.hardy_client(subdomain, username, password, :ssl => false)
# api = Harvest.hardy_client(subdomain, username, password)
#
# raise "Are you sure you want to do this? (comment out this exception if so)"
#
Expand Down
2 changes: 1 addition & 1 deletion examples/task_assignments.rb
Expand Up @@ -4,7 +4,7 @@
username = 'yourusername'
password = 'yourpassword'

harvest = Harvest.hardy_client(subdomain, username, password, :ssl => false)
harvest = Harvest.hardy_client(subdomain, username, password)

# Create a Client add a Project to that Client

Expand Down
2 changes: 1 addition & 1 deletion examples/user_assignments.rb
Expand Up @@ -4,7 +4,7 @@
username = 'userusername'
password = 'yourpassword'

harvest = Harvest.hardy_client(subdomain, username, password, :ssl => false)
harvest = Harvest.hardy_client(subdomain, username, password)

# Create a Client, Project, and a User then assign that User to that Project

Expand Down

0 comments on commit 4f67622

Please sign in to comment.