Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Use Net::HTTP.https_default_port
Browse files Browse the repository at this point in the history
  • Loading branch information
timcraft committed Nov 16, 2012
1 parent 11f6b13 commit 1458293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexmo.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1458293

Please sign in to comment.