Sha256: 25266ccb82b578c89b8aaeb18b5b68c938710ccaaf9746aba6ac607eaf4ef93d
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
module FbGraph2 class Edge module Videos def videos(*args) params = args.extract_options! videos = self.edge :videos, params, edge_scope: args.first videos.collect do |video| Video.new(video[:id], video).authenticate self.access_token end end def video!(params = {}) video = post params, edge: :videos Video.new(video[:id], params.merge(video)).authenticate self.access_token end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fb_graph2-0.0.4 | lib/fb_graph2/edge/videos.rb |
fb_graph2-0.0.3 | lib/fb_graph2/edge/videos.rb |