Class: Enom::Commands::CheckDomain
- Inherits:
-
Object
- Object
- Enom::Commands::CheckDomain
- Defined in:
- lib/enom/commands/check_domain.rb
Instance Method Summary collapse
Instance Method Details
#execute(args, options = {}) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/enom/commands/check_domain.rb', line 4 def execute(args, ={}) name = args.shift response = Domain.check(name) output = "#{name} is #{response}" puts output return output end |