Sha256: a097e4cc549b00b684076d510b1d12796aa00608f5b667879017ba6d01d7965a

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

module FbGraph
  module Connections
    module Comments
      def comments(options = {})
        comments = FbGraph::Collection.new(get(options.merge(:connection => 'comment')))
        comments.map! do |comment|
          Comment.new(comment.delete(:id), comment)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-0.0.6 lib/fb_graph/connections/comments.rb
fb_graph-0.0.5 lib/fb_graph/connections/comments.rb
fb_graph-0.0.4 lib/fb_graph/connections/comments.rb
fb_graph-0.0.3 lib/fb_graph/connections/comments.rb