# File 'lib/fb_graph/connections/videos.rb', line 13defvideo!(options={})video=postoptions.merge(:connection=>:videos)Video.newvideo[:id],options.merge(video).merge(:access_token=>options[:access_token]||self.access_token)end
#videos(options = {}) ⇒ Object
4
5
6
7
8
9
10
11
# File 'lib/fb_graph/connections/videos.rb', line 4defvideos(options={})videos=self.connection:videos,optionsvideos.map!do|video|Video.newvideo[:id],video.merge(:access_token=>options[:access_token]||self.access_token)endend