Sha256: 5bc22c8d3fd6e78e21d7b1900b6624f58a5522db3093a1b0240d7faba8dea704

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

module FbGraph
  module Connections
    module Albums
      def albums(options = {})
        albums = FbGraph::Collection.new(get(options.merge(:connection => 'albums')))
        albums.map! do |album|
          Album.new(album.delete(:id), album)
        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/albums.rb
fb_graph-0.0.5 lib/fb_graph/connections/albums.rb
fb_graph-0.0.4 lib/fb_graph/connections/albums.rb
fb_graph-0.0.3 lib/fb_graph/connections/albums.rb