Sha256: 347b100f82c21d9264a25191b7e48a15bea2a74c51e5774d9fe8581ac15aaadd
Contents?: true
Size: 579 Bytes
Versions: 37
Compression:
Stored size: 579 Bytes
Contents
module FbGraph module Connections module Videos def videos(options = {}) videos = self.connection(:videos, options) videos.map! do |video| Video.new(video[:id], video.merge( :access_token => options[:access_token] || self.access_token )) end end def video!(options = {}) video = post(options.merge(:connection => :videos)) Video.new(video[:id], options.merge(video).merge( :access_token => options[:access_token] || self.access_token )) end end end end
Version data entries
37 entries across 37 versions & 1 rubygems