Class: DNSimple::Commands::CheckDomain

Inherits:
Object
  • Object
show all
Defined in:
lib/dnsimple/commands/check_domain.rb

Instance Method Summary collapse

Instance Method Details

#execute(args, options = {}) ⇒ Object



4
5
6
7
8
# File 'lib/dnsimple/commands/check_domain.rb', line 4

def execute(args, options={})
  name = args.shift
  response = Domain.check(name)
  puts "Check domain result for #{name}: #{response}"
end