Sha256: 099239d8266029a835fda7fc452d00460fdeb5bf7a7130bc3a0bb853b28a9214
Contents?: true
Size: 449 Bytes
Versions: 9
Compression:
Stored size: 449 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 def album!(options = {}) album = post(options.merge(:connection => 'albums')) Album.new(album.delete(:id), options.merge(album)) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems