Sha256: fd51bec397736b4f8e0ba4740492e7676fac3b4c191341536dc6c64207241127

Contents?: true

Size: 328 Bytes

Versions: 42

Compression:

Stored size: 328 Bytes

Contents

module FbGraph
  module Connections
    module Posts
      def posts(options = {})
        posts = self.connection(:posts, options)
        posts.map! do |post|
          Post.new(post[:id], post.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fb_graph-1.8.2 lib/fb_graph/connections/posts.rb
fb_graph-1.8.1 lib/fb_graph/connections/posts.rb