Sha256: 9d58f8cf9bee9eee51b816a046952381888304a10b6d2cb792ab5a665ac3d0a4

Contents?: true

Size: 269 Bytes

Versions: 8

Compression:

Stored size: 269 Bytes

Contents

require 'rmega/utils'
require 'rmega/crypto/crypto'

module Rmega
  module Nodes
    module Deletable
      def delete
        request(a: 'd', n: handle)
      end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rmega-0.1.7 lib/rmega/nodes/deletable.rb
rmega-0.1.6 lib/rmega/nodes/deletable.rb
rmega-0.1.5 lib/rmega/nodes/deletable.rb
rmega-0.1.4 lib/rmega/nodes/deletable.rb
rmega-0.1.3 lib/rmega/nodes/deletable.rb
rmega-0.1.2 lib/rmega/nodes/deletable.rb
rmega-0.1.1 lib/rmega/nodes/deletable.rb
rmega-0.1.0 lib/rmega/nodes/deletable.rb