Sha256: 48004b94f55becdde1902b522cd27b450cf0a1581ff243776bf44d72cffab12e

Contents?: true

Size: 342 Bytes

Versions: 14

Compression:

Stored size: 342 Bytes

Contents

module FbGraph
  module Connections
    module Invited
      def invited(options = {})
        members = self.connection :invited, options
        members.map! do |member|
          User.new member[:id], member.merge(
            :access_token => options[:access_token] || self.access_token
          )
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fb_graph-2.4.11 lib/fb_graph/connections/invited.rb
fb_graph-2.4.10 lib/fb_graph/connections/invited.rb
fb_graph-2.4.9 lib/fb_graph/connections/invited.rb
fb_graph-2.4.8 lib/fb_graph/connections/invited.rb
fb_graph-2.4.7 lib/fb_graph/connections/invited.rb
fb_graph-2.4.6 lib/fb_graph/connections/invited.rb
fb_graph-2.4.4 lib/fb_graph/connections/invited.rb
fb_graph-2.4.3 lib/fb_graph/connections/invited.rb
fb_graph-2.4.2 lib/fb_graph/connections/invited.rb
fb_graph-2.4.1 lib/fb_graph/connections/invited.rb
fb_graph-2.4.0 lib/fb_graph/connections/invited.rb
fb_graph-2.3.2 lib/fb_graph/connections/invited.rb
fb_graph-2.3.1 lib/fb_graph/connections/invited.rb
fb_graph-2.3.0 lib/fb_graph/connections/invited.rb