Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use Net::HTTP.https_default_port

  • Loading branch information...
commit 1458293be5d08cdc9b4c124a145de4a5d4de9e2b 1 parent 11f6b13
@timcraft authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/nexmo.rb
View
2  lib/nexmo.rb
@@ -10,7 +10,7 @@ def initialize(key, secret, options = {})
@json = options.fetch(:json) { JSON }
- @http = Net::HTTP.new('rest.nexmo.com', 443)
+ @http = Net::HTTP.new('rest.nexmo.com', Net::HTTP.https_default_port)
@http.use_ssl = true
end
Please sign in to comment.
Something went wrong with that request. Please try again.