class EnClient::DeleteNoteCommand
Attributes
guid[RW]
Public Instance Methods
exec_impl()
click to toggle source
# File usr/lib/evernote-mode/enclient.rb, line 560 def exec_impl server_task do usn = sm.note_store.deleteNote sm.auth_token, @guid note = DBUtils.get_note dm, @guid note.updateSequenceNum = usn note.active = false DBUtils.set_note_and_content dm, note, nil shell.reply self, DeleteNoteReply.new end end