Sha256: 88a59a9b9a2a807adc09280bfae701e372d046488b756a7f7a6a38d4e0674b0a

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-0.4.2 lib/fb_graph/connections/tagged.rb
fb_graph-0.4.1 lib/fb_graph/connections/tagged.rb
fb_graph-0.4.0 lib/fb_graph/connections/tagged.rb
fb_graph-0.3.0 lib/fb_graph/connections/tagged.rb