Sha256: 08e3eac9b82bd8954408ca046dc456b096445be4b2c5711653d0ef13f9073653
Contents?: true
Size: 505 Bytes
Versions: 10
Compression:
Stored size: 505 Bytes
Contents
module DNSimple module Commands class ServiceListAvailable 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
10 entries across 10 versions & 1 rubygems