Sha256: 467a99ee4a8dd329c157df501a1f6bae74ec8a147a0eaefcac41e38310525c0f
Contents?: true
Size: 1.16 KB
Versions: 4
Compression:
Stored size: 1.16 KB
Contents
module Evernote module EDAM module Type class Resource @note_by_options = {} # Returns the note that holds this resource. # # @param options [Hash] options for {http://dev.evernote.com/documentation/reference/NoteStore.html#Fn_NoteStore_getNote}. # @option options [String] :with_content # @option options [String] :with_resources_data # @option options [String] :with_resources_recognition # @option options [String] :with_resources_alternate_data # @return [Evernote::EDAM::Type::Note] def note(options={}) options = { with_content: false, with_resources_data: false, with_resources_recognition: false, with_resources_alternate_data: false }.merge(options) @note_by_opions[options] || (@note_by_options[options] = note_store.getNote( noteGuid, options[:with_content], options[:with_resources_data], options[:with_resources_recognition], options[:with_resources_alternate_data]) ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems