From 3882682957e6a59f81e94b16d3a5abcda9e845f3 Mon Sep 17 00:00:00 2001 From: Eric Sanchez Date: Thu, 23 Jul 2020 11:35:43 -0700 Subject: [PATCH] fix: ensure host is initialized --- lib/imgix/client.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/imgix/client.rb b/lib/imgix/client.rb index 28fe8cb..8dabcb9 100644 --- a/lib/imgix/client.rb +++ b/lib/imgix/client.rb @@ -23,6 +23,8 @@ def initialize(options = {}) @host = host elsif domain @host = domain + else + @host = host end validate_host!