Sha256: 36007a18851b2c880b219b81eae5299e800c75641c1dd7f152551537c675ffac

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

#!/usr/bin/env ruby

require 'ultradns-sdk-fixed'

@user = ENV['ULTRA_USER']
@pw = ENV['ULTRA_PW']

if @user.nil? || @pw.nil?
  puts "ULTRA_USER=<account name> ULTRA_PW=<account password> #{$0}"
  exit 1
end

client = Ultradns::Client.new(@user, @pw)

result = client.status

puts "Result: #{result}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ultradns-sdk-fixed-0.0.7 example/service_status.rb