Sha256: f0c9d5cff4e1731a81ee1b7685b9999c1b709a58e44e23596c7add017d8e856c

Contents?: true

Size: 346 Bytes

Versions: 36

Compression:

Stored size: 346 Bytes

Contents

module FbGraph
  module Connections
    module Reviews
      def reviews(options = {})
        reviews = self.connection(:reviews, options)
        reviews.map! do |review|
          Review.new(review[:id], review.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
fb_graph-2.2.6 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.5 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.4 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.3 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.2 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.1 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.0 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.0.beta lib/fb_graph/connections/reviews.rb
fb_graph-2.2.0.alpha2 lib/fb_graph/connections/reviews.rb
fb_graph-2.2.0.alpha lib/fb_graph/connections/reviews.rb
fb_graph-2.1.13 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.12 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.11 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.10 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.9 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.8 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.7 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.6 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.5 lib/fb_graph/connections/reviews.rb
fb_graph-2.1.4 lib/fb_graph/connections/reviews.rb