Module: FbGraph2::Edge::Inbox

Included in:
User
Defined in:
lib/fb_graph2/edge/inbox.rb

Instance Method Summary collapse

Instance Method Details

#inbox(params = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/inbox.rb', line 4

def inbox(params = {})
  threads = self.edge :inbox, params
  threads.collect! do |thread|
    Thread.new(thread[:id], thread).authenticate self.access_token
  end
end