diff --git a/lib/soapforce/client.rb b/lib/soapforce/client.rb index 2547965..00cd4a6 100644 --- a/lib/soapforce/client.rb +++ b/lib/soapforce/client.rb @@ -10,7 +10,7 @@ class Client def initialize(options = {}) @describe_cache = {} @describe_layout_cache = {} - @headers = {} + @headers = {} @wsdl = options[:wsdl] || File.dirname(__FILE__) + '/../../resources/partner.wsdl.xml' @@ -19,6 +19,9 @@ def initialize(options = {}) # to make SOAP calls in Professional/Group Edition organizations. client_id = options[:client_id] || Soapforce.configuration.client_id + + @headers = options[:headers] if options[:headers] + @headers = { 'tns:CallOptions' => { 'tns:client' => client_id } } if client_id @version = options[:version] || Soapforce.configuration.version || 28.0 @@ -204,21 +207,21 @@ def describe_layout(sobject_type, layout_id=nil) response end - def query(soql) - call_soap_api(:query, {:queryString => soql}) + def query(soql, header={}) + call_soap_api(:query, {:queryString => soql}, header) end # Includes deleted (isDeleted) or archived (isArchived) records - def query_all(soql) - call_soap_api(:query_all, {:queryString => soql}) + def query_all(soql, header={}) + call_soap_api(:query_all, {:queryString => soql}, header) end - def query_more(locator) - call_soap_api(:query_more, {:queryLocator => locator}) + def query_more(locator, header={}) + call_soap_api(:query_more, {:queryLocator => locator}, header) end - def search(sosl) - call_soap_api(:search, {:searchString => sosl}) + def search(sosl, header={}) + call_soap_api(:search, {:searchString => sosl}, header) end # Public: Insert a new record. @@ -234,8 +237,8 @@ def search(sosl) # # Returns the String Id of the newly created sobject. # Returns false if something bad happens. - def create(sobject_type, properties) - create!(sobject_type, properties) + def create(sobject_type, properties, header={}) + create!(sobject_type, properties, header) rescue false end @@ -253,8 +256,8 @@ def create(sobject_type, properties) # # Returns the String Id of the newly created sobject. # Raises exceptions if an error is returned from Salesforce. - def create!(sobject_type, properties) - call_soap_api(:create, sobjects_hash(sobject_type, properties)) + def create!(sobject_type, properties, header={}) + call_soap_api(:create, sobjects_hash(sobject_type, properties), header) end # Public: Update a record. @@ -269,8 +272,8 @@ def create!(sobject_type, properties) # # Returns Hash if the sobject was successfully updated. # Returns false if there was an error. - def update(sobject_type, properties) - update!(sobject_type, properties) + def update(sobject_type, properties, header={}) + update!(sobject_type, properties, header) rescue false end @@ -287,8 +290,8 @@ def update(sobject_type, properties) # # Returns Hash if the sobject was successfully updated. # Raises an exception if an error is returned from Salesforce - def update!(sobject_type, properties) - call_soap_api(:update, sobjects_hash(sobject_type, properties)) + def update!(sobject_type, properties, header={}) + call_soap_api(:update, sobjects_hash(sobject_type, properties), header) end # Public: Update or create a record based on an external ID @@ -304,8 +307,8 @@ def update!(sobject_type, properties) # # Returns Hash if the record was found and updated or newly created. # Raises an exception if an error is returned from Salesforce. - def upsert(sobject_type, external_id_field_name, objects) - upsert!(sobject_type, external_id_field_name, objects) + def upsert(sobject_type, external_id_field_name, objects, header={}) + upsert!(sobject_type, external_id_field_name, objects, header) rescue false end @@ -323,9 +326,9 @@ def upsert(sobject_type, external_id_field_name, objects) # # Returns Hash if the record was found and updated or newly created. # Raises an exception if an error is returned from Salesforce. - def upsert!(sobject_type, external_id_field_name, objects) + def upsert!(sobject_type, external_id_field_name, objects, header={}) message = {externalIDFieldName: external_id_field_name}.merge(sobjects_hash(sobject_type, objects)) - call_soap_api(:upsert, message) + call_soap_api(:upsert, message, header) end # Public: Delete a record. @@ -340,8 +343,8 @@ def upsert!(sobject_type, external_id_field_name, objects) # # Returns true if the sobject was successfully deleted. # Returns false if an error is returned from Salesforce. - def delete(id) - delete!(id) + def delete(id, header = {}) + delete!(id, header) rescue false end @@ -359,9 +362,9 @@ def delete(id) # # Returns Hash if the sobject was successfully deleted. # Raises an exception if an error is returned from Salesforce. - def delete!(id) + def delete!(id, header={}) ids = id.is_a?(Array) ? id : [id] - call_soap_api(:delete, {:ids => ids}) + call_soap_api(:delete, {:ids => ids}, header) end alias_method :destroy!, :delete @@ -376,9 +379,9 @@ def delete!(id) # convertedStatus: 'Closed - Converted') # # Returns Soapforce::Result - def convert_lead(attributes) + def convert_lead(attributes, header={}) leads = attributes.is_a?(Array) ? attributes : [attributes] - call_soap_api(:convert_lead, leadConverts: leads) + call_soap_api(:convert_lead, {leadConverts: leads}, header) end # Public: Merges records together @@ -402,7 +405,6 @@ def merge!(sobject_type, master_record_hash, ids) } ) end - # Public: Merges records together # # sobject - String name of the sobject @@ -590,10 +592,20 @@ def key_name(key) end end - def call_soap_api(method, message_hash={}) - + def header_hash(header) + xml_header = header.map do |k,v| + header_fields = v.map {|k,v| ["tns:#{k}",v]}.to_h + header_name = "tns:#{k}" + [header_name, header_fields] + end + xml_header.to_h + end + + def call_soap_api(method, message_hash={}, header={}) + response = @client.call(method.to_sym) do |locals| locals.message message_hash + locals.soap_header header_hash(header) unless header.empty? end # Convert SOAP XML to Hash diff --git a/resources/partner.wsdl.xml b/resources/partner.wsdl.xml index b5053b7..845c121 100644 --- a/resources/partner.wsdl.xml +++ b/resources/partner.wsdl.xml @@ -1,7 +1,7 @@ + + Errors with this extended error code have the following properties: actionCallName, parameterName + + + Errors with this extended error code have the following properties: actionCallName, parameterName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: actionCallName, parameterName + + + Errors with this extended error code have the following properties: actionCallName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: processType + + + Errors with this extended error code have the following properties: apexClassName, parameterName + + + Errors with this extended error code have the following properties: apexClassName, parameterName + + + Errors with this extended error code have the following properties: apexClassName + + + Errors with this extended error code have the following properties: apexClassName + + + Errors with this extended error code have the following properties: apexClassName + + + Errors with this extended error code have the following properties: apexClassName, parameterName + + + Errors with this extended error code have the following properties: apexClassName, parameterName + + + Errors with this extended error code have the following properties: apexClassName, parameterName + + + Errors with this extended error code have the following properties: apexClassName, parentScreenFieldName + + + Errors with this extended error code have the following properties: assignmentName, operatorName, elementName + + + Errors with this extended error code have the following properties: elementName, assignmentName, elementType + + + Errors with this extended error code have the following properties: fieldValue, dataType, incompatibleDataType + + + Errors with this extended error code have the following properties: elementName, acceptedDataType, dataType, fieldValue + + + Errors with this extended error code have the following properties: assignmentName, operatorName, leftElementName, leftElementType, rightElementName, rightElementType + + + Errors with this extended error code have the following properties: assignmentName, operatorName, leftElementName, rightElementName + + + Errors with this extended error code have the following properties: elementName, dataType, incompatibleDataType + + + Errors with this extended error code have the following properties: parameterName, operatorName + + + Errors with this extended error code have the following properties: assignmentName, operatorName, dataType, elementName + + + Errors with this extended error code have the following properties: assignmentName + + + Errors with this extended error code have the following properties: parameterName, operatorName + + + Errors with this extended error code have the following properties: assignmentName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: choiceLookupName + + + Errors with this extended error code have the following properties: choiceName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: subflowType + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: screenFieldName + + + Errors with this extended error code have the following properties: questionName + + + Errors with this extended error code have the following properties: choiceName, parentScreenFieldName + + + Errors with this extended error code have the following properties: choiceName, parentScreenFieldName + + + Errors with this extended error code have the following properties: elementName, screenFieldName + + + Errors with this extended error code have the following properties: choiceName + + + Errors with this extended error code have the following properties: leftElementName, leftElementType, operatorName, rightElementName, rightElementType, ruleName + + + Errors with this extended error code have the following properties: elementName, dataType, operatorName, parameterName, ruleName + + + Errors with this extended error code have the following properties: elementName, leftElementType, operatorName, rightElementType, ruleName + + + Errors with this extended error code have the following properties: ruleName + + + Errors with this extended error code have the following properties: elementName, dataType, operatorName, parameterName, ruleName + + + Errors with this extended error code have the following properties: elementName, characterLimit + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName, dataType, operatorName, parameterName, ruleName + + + Errors with this extended error code have the following properties: ruleName + + + Errors with this extended error code have the following properties: ruleName + + + Errors with this extended error code have the following properties: ruleName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: constantName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: objectType + + + Errors with this extended error code have the following properties: objectType + + + Errors with this extended error code have the following properties: metadataValue + + + Errors with this extended error code have the following properties: metadataValue + + + Errors with this extended error code have the following properties: elementName, dataType + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: flowDecision + + + Errors with this extended error code have the following properties: flowDecision + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: coordinateLimit, coordinateName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: characterLimit, elementName + + + Errors with this extended error code have the following properties: characterLimit + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: objectName + + + Errors with this extended error code have the following properties: fieldReference + + + Errors with this extended error code have the following properties: fieldName, elementName + + + Errors with this extended error code have the following properties: fieldName, elementName, assignmentName + + + Errors with this extended error code have the following properties: fieldName, elementName, elementType + + + Errors with this extended error code have the following properties: fieldName, parameterName + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: fieldName, dataType + + + Errors with this extended error code have the following properties: fieldName, elementName, elementType + + + Errors with this extended error code have the following properties: fieldName, parameterName + + + Errors with this extended error code have the following properties: objectName, fieldName + + + Errors with this extended error code have the following properties: fieldRelationshipName + + + Errors with this extended error code have the following properties: componentName, propertyName, propertyType, errorIdentifier, errorParams + + + Errors with this extended error code have the following properties: componentName, propertyName, propertyType + + + Errors with this extended error code have the following properties: componentName, propertyName, propertyType, maxLength + + + Errors with this extended error code have the following properties: componentName, criterionIndex + + + Errors with this extended error code have the following properties: componentName, propertyName, propertyType, invalidValue + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: flowName + + + Errors with this extended error code have the following properties: formulaExpression + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: surveyName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: fieldRelationshipName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: objectType + + + Errors with this extended error code have the following properties: objectName + + + Errors with this extended error code have the following properties: objectName + + + Errors with this extended error code have the following properties: objectName + + + Errors with this extended error code have the following properties: objectName + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: objectName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: processType, metadataValue + + + Errors with this extended error code have the following properties: metadataValue + + + Errors with this extended error code have the following properties: processType, elementType + + + Errors with this extended error code have the following properties: processType + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: fieldName, objectName + + + Errors with this extended error code have the following properties: fieldName, elementName, elementType, operatorName + + + Errors with this extended error code have the following properties: fieldName, assignmentName, elementName, elementType + + + Errors with this extended error code have the following properties: fieldName, operatorName + + + Errors with this extended error code have the following properties: fieldName, operatorName + + + Errors with this extended error code have the following properties: fieldName, elementName, elementType, operatorName + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: objectName + + + Errors with this extended error code have the following properties: elementName, mergeFieldReference + + + Errors with this extended error code have the following properties: elementName, ruleName + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: dataType, fieldType + + + Errors with this extended error code have the following properties: choiceName + + + Errors with this extended error code have the following properties: choiceName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: screenRuleName, attributeName + + + Errors with this extended error code have the following properties: screenRuleName, attributeName + + + Errors with this extended error code have the following properties: screenRuleName, acceptedValues, actionValue + + + Errors with this extended error code have the following properties: screenRuleName + + + Errors with this extended error code have the following properties: screenRuleName + + + Errors with this extended error code have the following properties: screenRuleName + + + Errors with this extended error code have the following properties: screenRuleName, attributeName, fieldName + + + Errors with this extended error code have the following properties: screenRuleName, fieldValue + + + Errors with this extended error code have the following properties: screenRuleName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: characterLimit + + + Errors with this extended error code have the following properties: choiceName + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: fieldName, requiredField + + + Errors with this extended error code have the following properties: fieldName, otherFieldName + + + Errors with this extended error code have the following properties: fieldName, fieldValue + + + Errors with this extended error code have the following properties: objectType, sobjectName + + + Errors with this extended error code have the following properties: fieldName, objectType + + + Errors with this extended error code have the following properties: sortOrder + + + Errors with this extended error code have the following properties: fieldName, objectName + + + Errors with this extended error code have the following properties: fieldName, objectName + + + Errors with this extended error code have the following properties: maxLimit + + + Errors with this extended error code have the following properties: fieldName + + + Errors with this extended error code have the following properties: fieldName, fieldType, requiedField + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: flowName + + + Errors with this extended error code have the following properties: subflowName, inputAssignmentNames + + + Errors with this extended error code have the following properties: subflowName, inputAssignmentNames + + + Errors with this extended error code have the following properties: subflowName, inputParameterNames + + + Errors with this extended error code have the following properties: subflowName, inputParameterNames + + + Errors with this extended error code have the following properties: subflowName + + + Errors with this extended error code have the following properties: inputVariableName + + + Errors with this extended error code have the following properties: inputVariableName + + + Errors with this extended error code have the following properties: subflowName, inputAssignmentNames + + + Errors with this extended error code have the following properties: subflowName, inputAssignmentNames + + + Errors with this extended error code have the following properties: subflowName, inputAssignmentNames + + + Errors with this extended error code have the following properties: subflowName, inputAssignmentNames + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: flowName + + + Errors with this extended error code have the following properties: parentFlowName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: subflowName, flowName + + + Errors with this extended error code have the following properties: subflowName, flowVersion, outputParameterNames + + + Errors with this extended error code have the following properties: subflowName, flowVersion, outputParameterNames + + + Errors with this extended error code have the following properties: subflowName, flowVersion, outputParameterNames + + + Errors with this extended error code have the following properties: outputAssignment + + + Errors with this extended error code have the following properties: subflowName + + + Errors with this extended error code have the following properties: outputVariableName + + + Errors with this extended error code have the following properties: outputAssignment + + + Errors with this extended error code have the following properties: subflowName, outputAssignmentName + + + Errors with this extended error code have the following properties: subflowName, variableName + + + Errors with this extended error code have the following properties: subflowName, flowVersion, outputParameterNames + + + Errors with this extended error code have the following properties: subflowName, variableName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: choiceName + + + Errors with this extended error code have the following properties: choiceName + + + Errors with this extended error code have the following properties: subflowName + + + Errors with this extended error code have the following properties: surveyName + + + Errors with this extended error code have the following properties: surveyName + + + Errors with this extended error code have the following properties: subflowName + + + Errors with this extended error code have the following properties: subflowName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: surveyName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: elementName, characterLimit + + + Errors with this extended error code have the following properties: fieldName, datatype + + + Errors with this extended error code have the following properties: fieldName, datatype + + + Errors with this extended error code have the following properties: datatype, fieldName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: waitEventName + + + Errors with this extended error code have the following properties: parameterName + + + Errors with this extended error code have the following properties: waitEventName, inputParameterName + + + Errors with this extended error code have the following properties: waitEventName, parameterName + + + Errors with this extended error code have the following properties: waitEventName + + + Errors with this extended error code have the following properties: + + + Errors with this extended error code have the following properties: waitEventName + + + Errors with this extended error code have the following properties: waitEventName + + + Errors with this extended error code have the following properties: waitEventName + + + Errors with this extended error code have the following properties: waitEventName, outputParameter + + + Errors with this extended error code have the following properties: waitEventName, eventParameterName, incompatibleValue + + + Errors with this extended error code have the following properties: waitEventName, eventParameterName, incompatibleValue + + + Errors with this extended error code have the following properties: waitEventName, inputParameterName + + + Errors with this extended error code have the following properties: waitEventName, eventParameterName, incompatibleValue + + + Errors with this extended error code have the following properties: waitEventName, eventParameterName, incompatibleValue + + + Errors with this extended error code have the following properties: waitEventName, parameterName + + + Errors with this extended error code have the following properties: waitEventName + + + Errors with this extended error code have the following properties: flowName + + + Errors with this extended error code have the following properties: objectType + + + Errors with this extended error code have the following properties: objectType + + + Errors with this extended error code have the following properties: objectVariableName, oldObjectVariableName + + + Errors with this extended error code have the following properties: objectType, objectVariableName + + + Errors with this extended error code have the following properties: objectType, oldObjectVariableName + + + Errors with this extended error code have the following properties: metadataValue + + + Errors with this extended error code have the following properties: metadataValue + + + Errors with this extended error code have the following properties: elementName + + + Errors with this extended error code have the following properties: + @@ -689,6 +1520,7 @@ All Rights Reserved + @@ -860,6 +1692,7 @@ All Rights Reserved + @@ -877,7 +1710,7 @@ All Rights Reserved - + @@ -895,6 +1728,7 @@ All Rights Reserved + @@ -934,6 +1768,7 @@ All Rights Reserved + @@ -991,6 +1826,8 @@ All Rights Reserved + + @@ -1061,6 +1898,7 @@ All Rights Reserved + @@ -1115,6 +1953,7 @@ All Rights Reserved + @@ -1124,6 +1963,7 @@ All Rights Reserved + @@ -1244,7 +2084,7 @@ All Rights Reserved - + @@ -1277,7 +2117,7 @@ All Rights Reserved - + @@ -1363,6 +2203,21 @@ All Rights Reserved + + + + + + + + + + + + + + + @@ -1380,66 +2235,6 @@ All Rights Reserved - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1477,7 +2272,7 @@ All Rights Reserved - + @@ -1485,7 +2280,7 @@ All Rights Reserved - + @@ -1510,7 +2305,7 @@ All Rights Reserved - + @@ -1523,7 +2318,7 @@ All Rights Reserved - + @@ -1603,15 +2398,16 @@ All Rights Reserved - + + - + @@ -1638,6 +2434,9 @@ All Rights Reserved + + + @@ -1685,6 +2484,18 @@ All Rights Reserved + + + + + + + + + + + + @@ -1697,8 +2508,8 @@ All Rights Reserved - - + + @@ -1709,12 +2520,12 @@ All Rights Reserved - + - + @@ -1992,7 +2803,7 @@ All Rights Reserved - + @@ -2007,7 +2818,7 @@ All Rights Reserved - + @@ -2043,6 +2854,9 @@ All Rights Reserved + + + @@ -2064,6 +2878,14 @@ All Rights Reserved + + + + + + + + @@ -2151,9 +2973,9 @@ All Rights Reserved - + - + @@ -2163,7 +2985,7 @@ All Rights Reserved - + @@ -2176,7 +2998,7 @@ All Rights Reserved - + @@ -2185,26 +3007,26 @@ All Rights Reserved - + - + - + - + @@ -2263,7 +3085,7 @@ All Rights Reserved - + @@ -2399,13 +3221,12 @@ All Rights Reserved - + - @@ -2555,22 +3376,6 @@ All Rights Reserved - - - - - - - - - - - - - - - - @@ -2610,6 +3415,10 @@ All Rights Reserved + + + + @@ -2812,7 +3621,6 @@ All Rights Reserved - @@ -2929,6 +3737,39 @@ All Rights Reserved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3340,6 +4181,22 @@ All Rights Reserved + + + + + + + + + + + + + + + + @@ -3400,7 +4257,7 @@ All Rights Reserved - + @@ -3504,25 +4361,21 @@ All Rights Reserved + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + @@ -3694,6 +4547,14 @@ All Rights Reserved + + + + + + + + @@ -3721,6 +4582,7 @@ All Rights Reserved + @@ -3738,6 +4600,7 @@ All Rights Reserved + @@ -3777,6 +4640,7 @@ All Rights Reserved + @@ -3790,6 +4654,7 @@ All Rights Reserved + @@ -3858,6 +4723,14 @@ All Rights Reserved + + + + + + + + @@ -3885,6 +4758,7 @@ All Rights Reserved + @@ -3902,6 +4776,7 @@ All Rights Reserved + @@ -3941,6 +4816,7 @@ All Rights Reserved + @@ -3954,6 +4830,7 @@ All Rights Reserved + @@ -4029,6 +4906,13 @@ All Rights Reserved + + + + + + + @@ -4095,12 +4979,8 @@ All Rights Reserved - - - - @@ -4135,6 +5015,9 @@ All Rights Reserved + + + @@ -4205,13 +5088,6 @@ All Rights Reserved - - - - - - - @@ -4471,6 +5347,13 @@ All Rights Reserved + + + + + + + @@ -4506,6 +5389,13 @@ All Rights Reserved + + + + + + + @@ -4548,6 +5438,13 @@ All Rights Reserved + + + + + + + @@ -4614,14 +5511,6 @@ All Rights Reserved - - Describe a list of FlexiPage and their contents - - - - - - Describe the items in an AppMenu @@ -4916,6 +5805,15 @@ All Rights Reserved + + Change the current user's password + + + + + + + Reset a user's password @@ -4952,6 +5850,13 @@ All Rights Reserved + + Perform a template merge using an email template stored in the database. + + + + + Perform a series of predefined actions such as quick create or log a task @@ -4991,6 +5896,14 @@ All Rights Reserved + + Find duplicates for a set of ids + + + + + + Return the renameable nouns from the server for use in presentation using the salesforce grammar engine @@ -5135,25 +6048,6 @@ All Rights Reserved - - - - - - - - - - - - - - - - - - - @@ -5925,6 +6819,27 @@ All Rights Reserved + + + + + + + + + + + + + + + + + + + + + @@ -6004,6 +6919,21 @@ All Rights Reserved + + + + + + + + + + + + + + + @@ -6106,6 +7036,26 @@ All Rights Reserved + + + + + + + + + + + + + + + + + + + + @@ -6127,7 +7077,7 @@ All Rights Reserved Sforce SOAP API - + diff --git a/soapforce.gemspec b/soapforce.gemspec index 19fedcc..d3e81c3 100644 --- a/soapforce.gemspec +++ b/soapforce.gemspec @@ -21,6 +21,6 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency "savon", ">= 2.3.0", '< 3.0.0' spec.add_development_dependency 'rspec', '>= 2.14.0', '< 4.0.0' - spec.add_development_dependency 'webmock', '>= 1.17.0', '< 2.0.0' + spec.add_development_dependency 'webmock', '>= 1.17.0', '< 3.0.0' spec.add_development_dependency 'simplecov', '>= 0.9.0', '< 1.0.0' end