Class: FbGraph2::TestUser
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from User
Methods included from Searchable
Methods included from Edge::Videos
Methods included from Edge::Television
Methods included from Edge::TaggedPlaces
Methods included from Edge::Tagged
Methods included from Edge::TaggableFriends
Methods included from Edge::Scores
Methods included from Edge::Posts
Methods included from Edge::Pokes
Methods included from Edge::Photos
Methods included from Edge::Picture
Methods included from Edge::Permissions
Methods included from Edge::PaymentTransactions
Methods included from Edge::Music
Methods included from Edge::Movies
Methods included from Edge::Likes::LikerContext
Methods included from Edge::InvitableFriends
Methods included from Edge::Interests
Methods included from Edge::Groups
Methods included from Edge::Games
Methods included from Edge::Friends
Methods included from Edge::FriendLists
Methods included from Edge::Feed
Methods included from Edge::Family
Methods included from Edge::Events
Methods included from Edge::Domains
Methods included from Edge::Books
Methods included from Edge::AppRequests
Methods included from Edge::Albums
Methods included from Edge::Activities
Methods included from Edge::Achievements
Methods included from Edge::Accounts
Methods inherited from Node
#authenticate, #destroy, #edge, #edges, #fetch, #initialize, #update
Methods included from AttributeAssigner
Constructor Details
This class inherits a constructor from FbGraph2::User
Instance Method Details
#friend!(test_user) ⇒ Object
9 10 11 12 |
# File 'lib/fb_graph2/test_user.rb', line 9 def friend!(test_user) self.post({}, edge: :friends, edge_scope: test_user.id) test_user.post({}, edge: :friends, edge_scope: self.id) end |