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