Skip to content
Browse files

Minor update… again.

  • Loading branch information...
1 parent 3f04952 commit 717ba9a83097d396e187665cd90c393bc1d489dd @Agiley Agiley committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/namecheap/domain_check_response.rb
View
2 lib/namecheap/domain_check_response.rb
@@ -5,7 +5,7 @@ class DomainCheckResponse < Namecheap::Response
def initialize(response)
super(response)
- results = (@command_response && @command_response.has_key?("DomainCheckResult")) ? @command_response["DomainCheckResult"] : nil
+ results = (@success && @command_response && @command_response.has_key?("DomainCheckResult")) ? @command_response["DomainCheckResult"] : nil
if (results && results.is_a?(Hash))
@results = [DomainCheck.new(results)]

0 comments on commit 717ba9a

Please sign in to comment.
Something went wrong with that request. Please try again.