congaengr / soapforce

Salesforce SOAP API wrapper based on Savon
MIT License
26 stars 25 forks source link

Update client.rb #6

Closed mzahed closed 7 years ago

mzahed commented 9 years ago

Option to customize the login url

mzahed commented 9 years ago

This is because the endpoint and login_url for enterprise is different than partners

jheth commented 8 years ago

@mzahed Sorry for the delay on this. Can you give an example of a enterprise login url? We have the option for "host" to be defined and services/Soap/u/{version} gets appended. Is the endpoint different?

mzahed commented 7 years ago

@jheth yea its https://login.salesforce.com/services/Soap/c/34.0/..., notice the c instead of the u. just need a way to customize that

jheth commented 7 years ago

Thanks @mzahed. I'll merge this for now. I may change it in the future though.