Sha256: 15ecbf7d70ec0744dde9b213cafec286a36efd4ff0c7a12f366b8d621d498c8c
Contents?: true
Size: 655 Bytes
Versions: 37
Compression:
Stored size: 655 Bytes
Contents
module FbGraph2 class Edge module AppRequests def app_requests(params = {}) requests = self.edge :apprequests, params requests.collect! do |request| Request.new(request[:id], request).authenticate self.access_token end end alias_method :apprequests, :app_requests 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 alias_method :apprequest!, :app_request! end end end
Version data entries
37 entries across 37 versions & 1 rubygems