Sha256: 05e0d2bae4e9da9faf485f9ee93ae6cd3ccd2b14bcb1f9fcc646518061489838
Contents?: true
Size: 504 Bytes
Versions: 23
Compression:
Stored size: 504 Bytes
Contents
module DNSimple module Commands class ListAvailableServices def execute(args, options={}) domain_name = args.shift domain = Domain.find(domain_name) services = domain.available_services puts "Found #{services.length} available services for #{domain_name}" services.each do |service| puts "\t#{service.name} (short: #{service.short_name}, id: #{service.id})" puts "\t\t#{service.description}" end end end end end
Version data entries
23 entries across 23 versions & 2 rubygems