Class: Zm::Client::DocumentJsnsBuilder

Inherits:
BaseAccountJsnsBuilder show all
Defined in:
lib/zm/client/document/document_jsns_builder.rb

Overview

class for account document

Instance Method Summary collapse

Methods inherited from BaseAccountJsnsBuilder

#build, #initialize, #to_color, #to_move, #to_patch, #to_rename, #to_tag, #to_trash

Constructor Details

This class inherits a constructor from Zm::Client::BaseAccountJsnsBuilder

Instance Method Details

#to_deleteObject



7
8
9
10
11
12
13
14
15
# File 'lib/zm/client/document/document_jsns_builder.rb', line 7

def to_delete
  attrs = {
    op: :delete,
    comp: 0,
    id: @item.id
  }

  build(attrs)
end