Class: SynergyWholesale::CheckDomain::Response

Inherits:
BaseResponse
  • Object
show all
Defined in:
lib/synergy_wholesale/operations/check_domain.rb

Instance Attribute Summary

Attributes inherited from BaseResponse

#command, #response

Instance Method Summary collapse

Methods inherited from BaseResponse

#body, #initialize, #message, #successful?

Constructor Details

This class inherits a constructor from SynergyWholesale::BaseResponse

Instance Method Details

#is_available?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/synergy_wholesale/operations/check_domain.rb', line 16

def is_available?
  response[:status] == 'AVAILABLE'
end