Module: FbGraph2::Edge::Home

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

Instance Method Summary collapse

Instance Method Details

#home(params = {}) ⇒ Object



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

def home(params = {})
  posts = self.edge :home, params
  posts.collect! do |post|
    Post.new(post[:id], post).authenticate self.access_token
  end
end