Module: FbGraph::Connections::FriendRequests

Included in:
User
Defined in:
lib/fb_graph/connections/friend_requests.rb

Instance Method Summary collapse

Instance Method Details

#friend_requests(options = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph/connections/friend_requests.rb', line 4

def friend_requests(options = {})
  friend_requests = self.connection :friendrequests, options
  friend_requests.map! do |friend_request|
    FriendRequest.new friend_request
  end
end