Sha256: 5ddaaf445b6e461fba9b3667f70d5cd282e94b953bf7a072645d41c1a3ce456f

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

module FbGraph
  module Connections
    module Photos
      def photos(options = {})
        photos = FbGraph::Collection.new(get(options.merge(:connection => 'photos')))
        photos.map! do |photo|
          Photo.new(photo.delete(:id), photo)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-0.0.6 lib/fb_graph/connections/photos.rb
fb_graph-0.0.5 lib/fb_graph/connections/photos.rb
fb_graph-0.0.4 lib/fb_graph/connections/photos.rb
fb_graph-0.0.3 lib/fb_graph/connections/photos.rb