Skip to content

Instantly share code, notes, and snippets.

@evernotegists
Last active December 18, 2015 17:38
def stop_sharing_single_note(note_store, note_guid)
begin
note_store.stopSharingNote(note_guid)
return note_guid
rescue Evernote::EDAM::Error::EDAMNotFoundException,
Evernote::EDAM::Error::EDAMSystemException,
Evernote::EDAM::Error::EDAMUserException => e
puts "Error stopping sharing note:"
puts e.inspect
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment