Module: RForce::Wrapper::ApiMethods::CoreMethods
- Included in:
- Connection
- Defined in:
- lib/rforce-wrapper/methods/core.rb
Instance Method Summary (collapse)
- - (Object) convertLead(*leadConverts)
- - (Object) create(*sObjects)
- - (Object) delete(*ids)
- - (Object) emptyRecycleBin(*ids)
- - (Object) getDeleted(sObjectType, startDate, endDate)
- - (Object) getUpdated(sObjectType, startDate, endDate)
- - (Object) invalidateSessions(*sessionIds)
- - (Object) logout
- - (Object) merge(*mergeRequests)
- - (Object) process(*processRequests)
- - (Object) query(queryString)
- - (Object) queryAll(queryString)
- - (Object) queryMore(queryLocator)
- - (Object) retrieve(fieldList, sObjectType, *ids)
- - (Object) search(searchString)
- - (Object) undelete(*ids)
- - (Object) update(*sObjects)
- - (Object) upsert(externalIdFieldName, *sObjects)
Instance Method Details
- (Object) convertLead(*leadConverts)
5 6 |
# File 'lib/rforce-wrapper/methods/core.rb', line 5 def convertLead(*leadConverts) end |
- (Object) create(*sObjects)
8 9 10 11 |
# File 'lib/rforce-wrapper/methods/core.rb', line 8 def create(*sObjects) params = sObjects.flatten.map { |sobj| [:sObjects, sobj] }.flatten make_api_call :create, params end |
- (Object) delete(*ids)
13 14 15 16 |
# File 'lib/rforce-wrapper/methods/core.rb', line 13 def delete(*ids) params = ids.flatten.map { |id| [:ids, id] }.flatten make_api_call :delete, params end |
- (Object) emptyRecycleBin(*ids)
18 19 20 21 |
# File 'lib/rforce-wrapper/methods/core.rb', line 18 def emptyRecycleBin(*ids) params = ids.flatten.map { |id| [:ids, id] }.flatten make_api_call :emptyRecycleBin, params end |
- (Object) getDeleted(sObjectType, startDate, endDate)
23 24 |
# File 'lib/rforce-wrapper/methods/core.rb', line 23 def getDeleted(sObjectType, startDate, endDate) end |
- (Object) getUpdated(sObjectType, startDate, endDate)
26 27 |
# File 'lib/rforce-wrapper/methods/core.rb', line 26 def getUpdated(sObjectType, startDate, endDate) end |
- (Object) invalidateSessions(*sessionIds)
29 30 31 32 |
# File 'lib/rforce-wrapper/methods/core.rb', line 29 def invalidateSessions(*sessionIds) params = sessionIds.flatten.map { |id| [:sessionIds, id] }.flatten make_api_call :invalidateSessions, params end |
- (Object) logout
34 35 36 |
# File 'lib/rforce-wrapper/methods/core.rb', line 34 def logout make_api_call :logout end |
- (Object) merge(*mergeRequests)
38 39 |
# File 'lib/rforce-wrapper/methods/core.rb', line 38 def merge(*mergeRequests) end |
- (Object) process(*processRequests)
41 42 |
# File 'lib/rforce-wrapper/methods/core.rb', line 41 def process(*processRequests) end |
- (Object) query(queryString)
44 45 |
# File 'lib/rforce-wrapper/methods/core.rb', line 44 def query(queryString) end |
- (Object) queryAll(queryString)
47 48 |
# File 'lib/rforce-wrapper/methods/core.rb', line 47 def queryAll(queryString) end |
- (Object) queryMore(queryLocator)
50 51 |
# File 'lib/rforce-wrapper/methods/core.rb', line 50 def queryMore(queryLocator) end |
- (Object) retrieve(fieldList, sObjectType, *ids)
54 55 56 57 58 |
# File 'lib/rforce-wrapper/methods/core.rb', line 54 def retrieve(fieldList, sObjectType, *ids) params = [ :fieldList, fieldList, :sObjectType, sObjectType ] params += ids.flatten.map { |id| [:ids, id] }.flatten make_api_call :retrieve, params end |
- (Object) search(searchString)
60 61 |
# File 'lib/rforce-wrapper/methods/core.rb', line 60 def search(searchString) end |
- (Object) undelete(*ids)
63 64 |
# File 'lib/rforce-wrapper/methods/core.rb', line 63 def undelete(*ids) end |
- (Object) update(*sObjects)
66 67 |
# File 'lib/rforce-wrapper/methods/core.rb', line 66 def update(*sObjects) end |
- (Object) upsert(externalIdFieldName, *sObjects)
69 70 |
# File 'lib/rforce-wrapper/methods/core.rb', line 69 def upsert(externalIdFieldName, *sObjects) end |