lib/evertils/common/query/simple.rb in evertils-common-0.3.1 vs lib/evertils/common/query/simple.rb in evertils-common-0.3.2

- old
+ new

@@ -1,10 +1,9 @@ module Evertils module Common module Query class Simple < Query::Base - # # @since 0.2.0 def notebooks Entity::Notebooks.new.all end @@ -66,13 +65,13 @@ note = entity.create(conf) end # # @since 0.2.0 - def find_note(title_filter = nil, notebook_filter = nil) + def find_note(name) entity = Manager::Note.new - note = entity.find(title_filter, notebook_filter) + note = entity.find(name) end # # @since 0.3.1 def find_notebook(name) @@ -116,10 +115,9 @@ if e.errorCode == 19 puts "You're rate limited, wait #{e.rateLimitDuration}s" end end end - end end end end \ No newline at end of file