lib/pinboard/client.rb in pinboard-0.1.0 vs lib/pinboard/client.rb in pinboard-0.1.1
- old
+ new
@@ -167,10 +167,10 @@
# Returns a list of the user's notes
#
# @return [Array<Note>] list of notes
def notes_list
- options = create_params(params)
+ options = create_params({})
notes = self.class.get('/notes/list', options)['notes']['note']
notes = [] if notes.nil?
notes = [*notes]
notes.map { |p| Note.new(Util.symbolize_keys(p)) }
end