Sha256: 90d4e4eccab8bee12977e7baf5f2ee5281c7b64c77ce9646343af1d29313a85c
Contents?: true
Size: 575 Bytes
Versions: 59
Compression:
Stored size: 575 Bytes
Contents
module FbGraph module Connections module Photos def photos(options = {}) photos = self.connection :photos, options photos.map! do |photo| Photo.new photo[:id], photo.merge( :access_token => options[:access_token] || self.access_token ) end end def photo!(options = {}) photo = post options.merge(:connection => :photos) Photo.new photo[:id], options.merge(photo).merge( :access_token => options[:access_token] || self.access_token ) end end end end
Version data entries
59 entries across 59 versions & 1 rubygems