Module: Rmega::Nodes::Deletable

Included in:
File, Folder
Defined in:
lib/rmega/nodes/deletable.rb

Instance Method Summary collapse

Instance Method Details

#deleteObject


7
8
9
# File 'lib/rmega/nodes/deletable.rb', line 7

def delete
  request(a: 'd', n: handle)
end

#trashObject


11
12
13
# File 'lib/rmega/nodes/deletable.rb', line 11

def trash
  request(a: 'm', n: handle, t: storage.trash.handle)
end