Module: RForce::Wrapper::ApiMethods::CoreMethods

Included in:
Connection
Defined in:
lib/rforce-wrapper/methods/core.rb

Instance Method Summary collapse

Instance Method Details

#convertLead(*leadConverts) ⇒ Object



5
6
# File 'lib/rforce-wrapper/methods/core.rb', line 5

def convertLead(*leadConverts)
end

#create(*sObjects) ⇒ Object



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

#delete(*ids) ⇒ Object



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

#emptyRecycleBin(*ids) ⇒ Object



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

#getDeleted(sObjectType, startDate, endDate) ⇒ Object



23
24
# File 'lib/rforce-wrapper/methods/core.rb', line 23

def getDeleted(sObjectType, startDate, endDate)
end

#getUpdated(sObjectType, startDate, endDate) ⇒ Object



26
27
# File 'lib/rforce-wrapper/methods/core.rb', line 26

def getUpdated(sObjectType, startDate, endDate)
end

#invalidateSessions(*sessionIds) ⇒ Object



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

#logoutObject



34
35
36
# File 'lib/rforce-wrapper/methods/core.rb', line 34

def logout
  make_api_call :logout
end

#merge(*mergeRequests) ⇒ Object



38
39
# File 'lib/rforce-wrapper/methods/core.rb', line 38

def merge(*mergeRequests)
end

#process(*processRequests) ⇒ Object



41
42
# File 'lib/rforce-wrapper/methods/core.rb', line 41

def process(*processRequests)
end

#query(queryString) ⇒ Object



44
45
# File 'lib/rforce-wrapper/methods/core.rb', line 44

def query(queryString)
end

#queryAll(queryString) ⇒ Object



47
48
# File 'lib/rforce-wrapper/methods/core.rb', line 47

def queryAll(queryString)
end

#queryMore(queryLocator) ⇒ Object



50
51
# File 'lib/rforce-wrapper/methods/core.rb', line 50

def queryMore(queryLocator)
end

#retrieve(fieldList, sObjectType, *ids) ⇒ Object



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

#search(searchString) ⇒ Object



60
61
# File 'lib/rforce-wrapper/methods/core.rb', line 60

def search(searchString)
end

#undelete(*ids) ⇒ Object



63
64
# File 'lib/rforce-wrapper/methods/core.rb', line 63

def undelete(*ids)
end

#update(*sObjects) ⇒ Object



66
67
# File 'lib/rforce-wrapper/methods/core.rb', line 66

def update(*sObjects)
end

#upsert(externalIdFieldName, *sObjects) ⇒ Object



69
70
# File 'lib/rforce-wrapper/methods/core.rb', line 69

def upsert(externalIdFieldName, *sObjects)
end