class EnClient::UpdateTagCommand
Attributes
guid[RW]
name[RW]
parent_guid[RW]
Public Instance Methods
exec_impl()
click to toggle source
# File usr/lib/evernote-mode/enclient.rb, line 641 def exec_impl Formatter.to_ascii @name tag = Evernote::EDAM::Type::Tag.new tag.guid = @guid tag.name = @name tag.parentGuid = @parent_guid server_task do usn = sm.note_store.updateTag sm.auth_token, tag tag.updateSequenceNum = usn DBUtils.set_tag dm, tag reply = UpdateTagReply.new shell.reply self, reply end end