Module: FbGraph::Connections::Home
- Included in:
- User
- Defined in:
- lib/fb_graph/connections/home.rb
Instance Method Summary collapse
Instance Method Details
#home(options = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fb_graph/connections/home.rb', line 4 def home( = {}) posts = FbGraph::Collection.new(get(.merge(:connection => 'home'))) posts.map! do |post| Post.new(post.delete(:id), post) end end |