Sha256: 37c19ef1dd161012668bf14e2246bc5a20430011c8a67e8ced9158364e48bc42
Contents?: true
Size: 435 Bytes
Versions: 37
Compression:
Stored size: 435 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
37 entries across 37 versions & 1 rubygems