Method: FbGraph::Connections::Notes#notes

Defined in:
lib/fb_graph/connections/notes.rb

#notes(options = {}) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/fb_graph/connections/notes.rb', line 4

def notes(options = {})
  notes = self.connection :notes, options
  notes.map! do |note|
    Note.new note[:id], note.merge(
      :access_token => options[:access_token] || self.access_token
    )
  end
end