Sha256: 84e64dc498abc14d602867be7360483a7da7d15e78633adb949fd36b7dde5cdd
Contents?: true
Size: 365 Bytes
Versions: 10
Compression:
Stored size: 365 Bytes
Contents
module DNSimple module Commands class ServiceAdd def execute(args, options = {}) domain_name = args.shift domain = Domain.find(domain_name) short_name = args.shift service = Service.find(short_name) domain.add_service(short_name) puts "Added #{service.name} to #{domain_name}" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems