Sha256: 4a30f19d9134104fa852f331c70e16819105d536af19707691131d0f07dfaaee
Contents?: true
Size: 434 Bytes
Versions: 8
Compression:
Stored size: 434 Bytes
Contents
module FbGraph2 class Edge module Albums def albums(params = {}) albums = self.edge :albums, params albums.collect do |album| Album.new(album[:id], album).authenticate self.access_token end end def album!(params = {}) album = self.post params, edge: :albums Album.new(album[:id], params.merge(album)).authenticate self.access_token end end end end
Version data entries
8 entries across 8 versions & 1 rubygems