Sha256: 24f13a60765a36ec6c7d5bce25fc06abe588c9b94df76e27a2990a2a594b35a1
Contents?: true
Size: 491 Bytes
Versions: 8
Compression:
Stored size: 491 Bytes
Contents
module FbGraph2 class Edge module Photos def photos(*args) params = args.extract_options! photos = self.edge :photos, params, edge_scope: args.first photos.collect do |photo| Photo.new(photo[:id], photo).authenticate self.access_token end end def photo!(params = {}) photo = self.post params, edge: :photos Photo.new(photo[:id], params.merge(photo)).authenticate self.access_token end end end end
Version data entries
8 entries across 8 versions & 1 rubygems