Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arvida committed Feb 17, 2011
1 parent 85d98a0 commit f84564e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resizor/connection.rb
Expand Up @@ -34,7 +34,7 @@ def delete(request_uri, params={}, append_api_key=true)
end

def api_url(force_http = false)
@api_url ||= "#{(@use_ssl == true && force_http == false) ? 'https' : 'http'}://#{@api_host}:#{(@use_ssl == true && force_http == false) ? '443' : @api_port}}"
@api_url ||= "#{(@use_ssl == true && force_http == false) ? 'https' : 'http'}://#{@api_host}:#{(@use_ssl == true && force_http == false) ? '443' : @api_port}"
end

protected
Expand Down

0 comments on commit f84564e

Please sign in to comment.