module FbGraph2::Edge::AppRequests
Public Instance Methods
app_request!(params = {})
click to toggle source
# File lib/fb_graph2/edge/app_requests.rb, line 12 def app_request!(params = {}) response = self.post params, edge: :apprequests if request = response[:request] response[:request] = Request.new(request[:id], request).authenticate self.access_token end response end
Also aliased as: apprequest!
app_requests(params = {})
click to toggle source
# File lib/fb_graph2/edge/app_requests.rb, line 4 def app_requests(params = {}) requests = self.edge :apprequests, params requests.collect! do |request| Request.new(request[:id], request).authenticate self.access_token end end
Also aliased as: apprequests