Class: DNSimple::Commands::DomainCheck

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

Instance Method Summary collapse

Instance Method Details

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



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

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