Sha256: 3a4e9c96865c12ee11155cf6316b6332b78dd03b734eaa5a78a291490df9bf42

Contents?: true

Size: 575 Bytes

Versions: 4

Compression:

Stored size: 575 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 "Your login can access the following objects:"
puts drv.types.join(", ")

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
aq1018-rforce-0.5.2 wsdl/sample/describeGlobal.rb
aq1018-rforce-0.5.1 wsdl/sample/describeGlobal.rb
DerGuteMoritz-rforce-0.4.2 wsdl/sample/describeGlobal.rb
rforce-raygao-1.0.0 wsdl/sample/describeGlobal.rb