You need to sign in to do that
Don't have an account?

New Ruby binding for SalesForce
Hi, all.
I've slapped together a lightweight little Ruby binding for the SalesForce API. The project was inspired by the older XMLRPC-based wrapper and the generic soap4r library (though it doesn't actually use either one).
The .rb file is available at http://rubyforge.org/projects/rforce.
Documentation (such as it is) is at http://rforce.rubyforge.org.
Enjoy!
I've slapped together a lightweight little Ruby binding for the SalesForce API. The project was inspired by the older XMLRPC-based wrapper and the generic soap4r library (though it doesn't actually use either one).
The .rb file is available at http://rubyforge.org/projects/rforce.
Documentation (such as it is) is at http://rforce.rubyforge.org.
Enjoy!
if args.nil? || args.empty?
@builder.tag!(method, {:xmlns => 'urn:enterprise.soap.sforce.com'})
else
expand({method => args}, 'urn:enterprise.soap.sforce.com')
end
Now I call binding.describeGlobal({}). Perhaps the checking should be done in 'method_missing(method, *args)' so that it tries a call without arguments if none are supplied and then raises an exception if it was not successful.
Thanks for a simple library!!
--undees