Skip to content

Commit

Permalink
fix: ensure host is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdeansanchez committed Jul 27, 2020
1 parent dc0ddd2 commit 3882682
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/imgix/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def initialize(options = {})
@host = host
elsif domain
@host = domain
else
@host = host
end

validate_host!
Expand Down

0 comments on commit 3882682

Please sign in to comment.