Class: SynergyWholesale::CheckDomain

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

Defined Under Namespace

Classes: Command, Response

Instance Method Summary collapse

Methods inherited from Operation

call

Instance Method Details

#call(domain) ⇒ Object



28
29
30
31
# File 'lib/synergy_wholesale/operations/check_domain.rb', line 28

def call(domain)
  command = Command.new(domain)
  api.call(command)
end