lib/fb_graph/connections/home.rb in fb_graph-0.0.2 vs lib/fb_graph/connections/home.rb in fb_graph-0.0.3
- old
+ new
@@ -1,9 +1,9 @@
module FbGraph
module Connections
module Home
def home(options = {})
- posts = Collection.new(get(options.merge(:connection => 'home')))
+ posts = FbGraph::Collection.new(get(options.merge(:connection => 'home')))
posts.map! do |post|
Post.new(post.delete(:id), post)
end
end
end
\ No newline at end of file