Method: ENUtils::Note.where
- Defined in:
- lib/evernote_utils/note.rb
.where(core, options = {}) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/evernote_utils/note.rb', line 30 def self.where(core, ={}) offset = .delete(:offset) || 0 limit = .delete(:limit) || DEFAULT_LIMIT result = core.notestore.findNotes(core.token, NoteFilter.build(core, ), offset, limit).notes.map{|n| new(core, n) } NoteList.new(core, result, ) end |