def convert_lead(attributes)
      leads = attributes.is_a?(Array) ? attributes : [attributes]
      call_soap_api(:convert_lead, leadConverts: leads)
    end
def convert_lead(attributes)
      leads = attributes.is_a?(Array) ? attributes : [attributes]
      call_soap_api(:convert_lead, leadConverts: leads)
    end
Public: Convert Lead to Opportunity

 attrs   - Hash of attributes to set on the record.

 Example

   client.convert_lead(leadId: '00Qi000001bMOtM',
     opportunityName: 'Opportunity from Lead',
     convertedStatus: 'Closed - Converted')

 Returns Soapforce::Result