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!