Sha256: c646eaec49d42722ef159c67de9c46b73980206df4d8b0138a5bff18e0dc04d6
Contents?: true
Size: 555 Bytes
Versions: 4
Compression:
Stored size: 555 Bytes
Contents
#!/usr/bin/ruby # vim: set tw=72 ai sw=2: ### User Configurable Constants ### DefaultUser = 'changeme@salesforce.com' DefaultPasswd = 'changemetoo' ################################### require 'wsdl' require 'pp' user = ENV['RFORCE_USER'] || DefaultUser passwd = ENV['RFORCE_PASS'] || DefaultPasswd # Open a connection and login if $DEBUG drv = RForce::WSDL.new(user, passwd, $DEBUG, "http://na1-api.salesforce.com/services/Soap/c/6.0") else drv = RForce::WSDL.new(user, passwd) end puts "Server time is : #{drv.getServerTimestamp.asctime}"
Version data entries
4 entries across 4 versions & 3 rubygems