lib/helpers/evernote.rb in evertils-0.1.18 vs lib/helpers/evernote.rb in evertils-0.1.19
- old
+ new
@@ -132,10 +132,10 @@
filter.notebookGuid = notebook_filter if notebook_filter
@@store.findNotes(@@developer_token, filter, nil, 300)
end
- def note_exists(requested_date)
+ def note_exists(requested_date = DateTime.now)
results = Helper::Results.new
tmpl = date_templates(requested_date)
template = tmpl[command]
note = find_note(template)
\ No newline at end of file