Sha256: 60ff8ccf2c1605a7e28385c6419365d3db062b55884bc74839c4b8a1705939af

Contents?: true

Size: 275 Bytes

Versions: 13

Compression:

Stored size: 275 Bytes

Contents

module FbGraph
  module Connections
    module Home
      def home(options = {})
        posts = FbGraph::Collection.new(get(options.merge(:connection => 'home')))
        posts.map! do |post|
          Post.new(post.delete(:id), post)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fb_graph-0.2.2 lib/fb_graph/connections/home.rb
fb_graph-0.2.1 lib/fb_graph/connections/home.rb
fb_graph-0.2.0 lib/fb_graph/connections/home.rb
fb_graph-0.1.3 lib/fb_graph/connections/home.rb
fb_graph-0.1.2 lib/fb_graph/connections/home.rb
fb_graph-0.1.1 lib/fb_graph/connections/home.rb
fb_graph-0.1.0 lib/fb_graph/connections/home.rb
fb_graph-0.0.8 lib/fb_graph/connections/home.rb
fb_graph-0.0.7 lib/fb_graph/connections/home.rb
fb_graph-0.0.6 lib/fb_graph/connections/home.rb
fb_graph-0.0.5 lib/fb_graph/connections/home.rb
fb_graph-0.0.4 lib/fb_graph/connections/home.rb
fb_graph-0.0.3 lib/fb_graph/connections/home.rb