Module: Salesforce::Connection::SoapApi::ClassMethods
- Defined in:
- lib/salesforce/connection/soap_api.rb
Instance Method Summary collapse
Instance Method Details
#convert_lead(lead_converts) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/salesforce/connection/soap_api.rb', line 23 def convert_lead(lead_converts) = { :body => { :leadConverts => lead_converts } } as_logged_in_user do invoke_soap(:convertLead, ) end end |
#login ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/salesforce/connection/soap_api.rb', line 10 def login = { :endpoint_url => Config.login_url, :body => { :username => Config.username, :password => Config.password, :order! => [ :username, :password ] } } invoke_soap(:login, ) end |