Sha256: 30e255aac918746007595a646ae089014cd0b3dea375fa412bdc78801eaa15c1
Contents?: true
Size: 508 Bytes
Versions: 7
Compression:
Stored size: 508 Bytes
Contents
module FbGraph2 class Edge module TestUsers def test_users(params = {}) users = self.edge :accounts, params, edge_scope: :'test-users' users.collect! do |user| TestUser.new(user[:id], user) end end def test_user!(params = {}) user = self.post params, edge: :accounts, edge_scope: :'test-users' params.delete(:access_token) # so as not to keep app token TestUser.new(user[:id], user.merge(params)) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems