lib/fb_graph/connections/notes.rb in fb_graph-0.4.2 vs lib/fb_graph/connections/notes.rb in fb_graph-0.5.0

- old
+ new

@@ -1,9 +1,9 @@ module FbGraph module Connections module Notes def notes(options = {}) - notes = FbGraph::Collection.new(get(options.merge(:connection => 'notes'))) + notes = self.connection(:notes, options) notes.map! do |note| Note.new(note.delete(:id), note.merge( :access_token => options[:access_token] || self.access_token )) end \ No newline at end of file