Sha256: ea4112155fd3eb0437d262e526e88f892e8dcccffb2936288c9f4d500f01f462
Contents?: true
Size: 1.29 KB
Versions: 19
Compression:
Stored size: 1.29 KB
Contents
module FbGraph class TestUser < Node include Connections::Accounts include Connections::Activities include Connections::Albums include Connections::Books include Connections::Checkins include Connections::Events include Connections::Feed include Connections::FriendLists include Connections::Friends include Connections::Groups include Connections::Home include Connections::Interests include Connections::Likes include Connections::Links include Connections::Movies include Connections::Music include Connections::Notes include Connections::Photos include Connections::Picture include Connections::Posts include Connections::Statuses include Connections::Tagged include Connections::Television include Connections::Videos attr_accessor :login_url def initialize(identifier, attributes = {}) super @login_url = attributes[:login_url] end def friend!(test_user) post( :access_token => self.access_token, :connection => :friends, :connection_scope => test_user.identifier ) test_user.send :post, { :access_token => test_user.access_token, :connection => :friends, :connection_scope => self.identifier } end end end
Version data entries
19 entries across 19 versions & 1 rubygems