Sha256: f4714c5a191f3748ddf3c80d8b88ebb7523afa3ef99b6173b28aad75f11789f3

Contents?: true

Size: 389 Bytes

Versions: 27

Compression:

Stored size: 389 Bytes

Contents

module FbGraph
  module Connections
    module AppRequests
      def app_requests(options = {})
        app_requests = self.connection(:apprequests, options)
        app_requests.map! do |app_request|
          AppRequest.new(app_request[:id], app_request.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
fb_graph-2.1.8 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.7 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.6 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.5 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.4 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.3 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.2 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.1 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.0 lib/fb_graph/connections/app_requests.rb
fb_graph-2.1.0.alpha lib/fb_graph/connections/app_requests.rb
fb_graph-2.0.2 lib/fb_graph/connections/app_requests.rb
fb_graph-2.0.1 lib/fb_graph/connections/app_requests.rb
fb_graph-2.0.0 lib/fb_graph/connections/app_requests.rb
fb_graph-2.0.0.beta lib/fb_graph/connections/app_requests.rb
fb_graph-2.0.0.alpha lib/fb_graph/connections/app_requests.rb
fb_graph-1.9.5 lib/fb_graph/connections/app_requests.rb
fb_graph-1.9.4 lib/fb_graph/connections/app_requests.rb
fb_graph-1.9.3 lib/fb_graph/connections/app_requests.rb
fb_graph-1.9.2 lib/fb_graph/connections/app_requests.rb
fb_graph-1.9.1 lib/fb_graph/connections/app_requests.rb