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.5.5 lib/fb_graph/connections/videos.rb
fb_graph-1.5.4 lib/fb_graph/connections/videos.rb
fb_graph-1.5.3 lib/fb_graph/connections/videos.rb
fb_graph-1.5.2 lib/fb_graph/connections/videos.rb
fb_graph-1.5.1 lib/fb_graph/connections/videos.rb
fb_graph-1.5.0 lib/fb_graph/connections/videos.rb
fb_graph-1.4.1 lib/fb_graph/connections/videos.rb
fb_graph-1.4.0 lib/fb_graph/connections/videos.rb
fb_graph-1.3.9 lib/fb_graph/connections/videos.rb
fb_graph-1.3.8 lib/fb_graph/connections/videos.rb
fb_graph-1.3.7 lib/fb_graph/connections/videos.rb
fb_graph-1.3.6 lib/fb_graph/connections/videos.rb
fb_graph-1.3.5 lib/fb_graph/connections/videos.rb
fb_graph-1.3.4 lib/fb_graph/connections/videos.rb
fb_graph-1.3.3 lib/fb_graph/connections/videos.rb
fb_graph-1.3.2 lib/fb_graph/connections/videos.rb
fb_graph-1.3.1 lib/fb_graph/connections/videos.rb
fb_graph-1.3.0 lib/fb_graph/connections/videos.rb
fb_graph-1.2.5 lib/fb_graph/connections/videos.rb
fb_graph-1.2.4 lib/fb_graph/connections/videos.rb