Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Commit

Permalink
Use new API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Long committed Mar 7, 2012
1 parent 44af147 commit 328c1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zendesk/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def initialize(account, username, password, options = {})

def main_url
url_prefix = @options[:ssl] ? "https://" : "http://"
url_postfix = ".zendesk.com/"
url_postfix = ".zendesk.com/api/v1/"
url = url_prefix + @account + url_postfix
end

Expand Down

0 comments on commit 328c1d0

Please sign in to comment.