Sha256: 430232abdc7261342051f9fdf2887710cd89f30d711ff39a42cb3c5c03ed4d1e

Contents?: true

Size: 344 Bytes

Versions: 68

Compression:

Stored size: 344 Bytes

Contents

module FbGraph
  module Connections
    module Videos
      def videos(options = {})
        videos = self.connection(:videos, options)
        videos.map! do |video|
          Video.new(video.delete(:id), video.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 2 rubygems

Version Path
fb_graph-1.8.0 lib/fb_graph/connections/videos.rb
fb_graph-1.8.0.alpha2 lib/fb_graph/connections/videos.rb
fb_graph-1.7.5 lib/fb_graph/connections/videos.rb
fb_graph-1.8.0.alpha lib/fb_graph/connections/videos.rb
fb_graph-1.7.4 lib/fb_graph/connections/videos.rb
fb_graph-1.7.3 lib/fb_graph/connections/videos.rb
fb_graph-1.7.2 lib/fb_graph/connections/videos.rb
fb_graph-1.7.1 lib/fb_graph/connections/videos.rb
fb_graph-1.7.0 lib/fb_graph/connections/videos.rb
fb_graph-1.7.0.alpha2 lib/fb_graph/connections/videos.rb
fb_graph-1.6.9 lib/fb_graph/connections/videos.rb
fb_graph-1.7.0.alpha lib/fb_graph/connections/videos.rb
fb_graph-1.6.8 lib/fb_graph/connections/videos.rb
fb_graph-1.6.7 lib/fb_graph/connections/videos.rb
fb_graph-1.6.5 lib/fb_graph/connections/videos.rb
fb_graph-1.6.4 lib/fb_graph/connections/videos.rb
fb_graph-1.6.3 lib/fb_graph/connections/videos.rb
fb_graph-1.6.2 lib/fb_graph/connections/videos.rb
fb_graph-1.6.1 lib/fb_graph/connections/videos.rb
fb_graph-1.6.0 lib/fb_graph/connections/videos.rb