Sha256: 61cbcf9affe20f236b144e1c57128765b4c4e771b6f8c119583502dc059a717c
Contents?: true
Size: 619 Bytes
Versions: 37
Compression:
Stored size: 619 Bytes
Contents
module FbGraph module Connections module TestUsers def test_users(options = {}) options[:access_token] ||= self.access_token test_users = self.connection(:accounts, options.merge(:connection_scope => 'test-users')) test_users.map! do |test_user| TestUser.new(test_user[:id], test_user) end end def test_user!(options = {}) options[:access_token] ||= self.access_token test_user = post(options.merge(:connection => :accounts, :connection_scope => 'test-users')) TestUser.new(test_user[:id], test_user) end end end end
Version data entries
37 entries across 37 versions & 1 rubygems