Class: Evernote::EDAM::Type::Resource
- Inherits:
-
Object
- Object
- Evernote::EDAM::Type::Resource
- Defined in:
- lib/evernote/edam/type/resource.rb
Instance Method Summary collapse
-
#note(options = {}) ⇒ Evernote::EDAM::Type::Note
Returns the note that holds this resource.
Instance Method Details
#note(options = {}) ⇒ Evernote::EDAM::Type::Note
Returns the note that holds this resource.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/evernote/edam/type/resource.rb', line 15 def note(={}) = { with_content: false, with_resources_data: false, with_resources_recognition: false, with_resources_alternate_data: false }.merge() @note_by_opions[] || ([] = note_store.getNote( noteGuid, [:with_content], [:with_resources_data], [:with_resources_recognition], [:with_resources_alternate_data]) ) end |