14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/zm/client/share/share_jsns_initializer.rb', line 14
def update(item, json)
item.ownerId = json.delete(:ownerId)
item.ownerEmail = json.delete(:ownerEmail)
item.ownerName = json.delete(:ownerName)
item.folderId = json.delete(:folderId)
item.folderUuid = json.delete(:folderUuid)
item.folderPath = json.delete(:folderPath)
item.view = json.delete(:view)
item.rights = json.delete(:rights)
item.granteeType = json.delete(:granteeType)
item.granteeId = json.delete(:granteeId)
item.granteeName = json.delete(:granteeName)
item.mid = json.delete(:mid)
item
end
|